Class: RbSnake::Models::Snake::RenderedBodyElem

Inherits:
Struct
  • Object
show all
Defined in:
lib/rb_snake/models/snake.rb

Instance Attribute Summary collapse

Instance Attribute Details

#elemObject

Returns the value of attribute elem

Returns:

  • (Object)

    the current value of elem



9
10
11
# File 'lib/rb_snake/models/snake.rb', line 9

def elem
  @elem
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



9
10
11
# File 'lib/rb_snake/models/snake.rb', line 9

def position
  @position
end