Class: ROM::SQL::Postgres::Values::Point
- Inherits:
-
Struct
- Object
- Struct
- ROM::SQL::Postgres::Values::Point
- Defined in:
- lib/rom/sql/extensions/postgres/types/geometric.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
7 8 9 |
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 7 def x @x end |
#y ⇒ Object
Returns the value of attribute y
7 8 9 |
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 7 def y @y end |