Class: Grid
- Inherits:
-
Struct
- Object
- Struct
- Grid
- Defined in:
- lib/grid.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
1 2 3 |
# File 'lib/grid.rb', line 1 def height @height end |
#width ⇒ Object
Returns the value of attribute width
1 2 3 |
# File 'lib/grid.rb', line 1 def width @width end |