Class: RubyWarrior::Position
- Inherits:
-
Object
- Object
- RubyWarrior::Position
- Defined in:
- lib/ruby_armor/ruby_warrior_ext/position.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Instance Attribute Details
#x ⇒ Object (readonly)
Returns the value of attribute x.
3 4 5 |
# File 'lib/ruby_armor/ruby_warrior_ext/position.rb', line 3 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y.
3 4 5 |
# File 'lib/ruby_armor/ruby_warrior_ext/position.rb', line 3 def y @y end |