Class: RobotsFindKitten::Thing
- Inherits:
-
Object
- Object
- RobotsFindKitten::Thing
- Defined in:
- lib/robotsfindkitten/thing.rb
Instance Attribute Summary collapse
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Instance Method Summary collapse
-
#initialize ⇒ Thing
constructor
A new instance of Thing.
Constructor Details
Instance Attribute Details
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
7 8 9 |
# File 'lib/robotsfindkitten/thing.rb', line 7 def symbol @symbol end |
#x ⇒ Object (readonly)
Returns the value of attribute x.
7 8 9 |
# File 'lib/robotsfindkitten/thing.rb', line 7 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y.
7 8 9 |
# File 'lib/robotsfindkitten/thing.rb', line 7 def y @y end |