Class: TreeHaver::SourcePoint
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::SourcePoint
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#row ⇒ Object
Returns the value of attribute row.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
121 122 123 |
# File 'lib/tree_haver/contracts.rb', line 121 def column @column end |
#row ⇒ Object
Returns the value of attribute row
121 122 123 |
# File 'lib/tree_haver/contracts.rb', line 121 def row @row end |
Instance Method Details
#to_h ⇒ Object
122 123 124 125 126 127 |
# File 'lib/tree_haver/contracts.rb', line 122 def to_h { row: row, column: column } end |