Class: RbSnake::Models::Food::RenderedElement
- Inherits:
-
Struct
- Object
- Struct
- RbSnake::Models::Food::RenderedElement
- Defined in:
- lib/rb_snake/models/food.rb
Instance Attribute Summary collapse
-
#elem ⇒ Object
Returns the value of attribute elem.
-
#location ⇒ Object
Returns the value of attribute location.
Instance Attribute Details
#elem ⇒ Object
Returns the value of attribute elem
10 11 12 |
# File 'lib/rb_snake/models/food.rb', line 10 def elem @elem end |
#location ⇒ Object
Returns the value of attribute location
10 11 12 |
# File 'lib/rb_snake/models/food.rb', line 10 def location @location end |