Method: Griddle::Rectangle#width

Defined in:
lib/griddle/rectangle.rb

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



2
3
4
# File 'lib/griddle/rectangle.rb', line 2

def width
  @width
end