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
508 509 510 |
# File 'lib/tree_haver/contracts.rb', line 508 def column @column end |
#row ⇒ Object
Returns the value of attribute row
508 509 510 |
# File 'lib/tree_haver/contracts.rb', line 508 def row @row end |
Instance Method Details
#to_h ⇒ Object
509 510 511 512 513 514 |
# File 'lib/tree_haver/contracts.rb', line 509 def to_h { row: row, column: column } end |