Class: Object::TermCanvas
- Inherits:
-
Object
- Object
- Object::TermCanvas
- Defined in:
- lib/term_canvas/object.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
2 3 4 |
# File 'lib/term_canvas/object.rb', line 2 def index @index end |
Instance Method Details
#set_index(index) ⇒ Object
5 6 7 |
# File 'lib/term_canvas/object.rb', line 5 def set_index(index) @object_index = index end |