class Octicons::Octicon

def size

determine the height and width of the octicon based on :size option
def size
  size = {
    width:  @width,
    height: @height
  }
  # Specific size
  unless @options[:width].nil? && @options[:height].nil?
    size[:width]  = @options[:width].nil?  ? calculate_width(@options[:height]) : @options[:width]
    size[:height] = @options[:height].nil? ? calculate_height(@options[:width]) : @options[:height]
  end
  size
end