Class: ActiveRecord::Point
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::Point
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid/point.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
4 5 6 |
# File 'lib/active_record/connection_adapters/postgresql/oid/point.rb', line 4 def x @x end |
#y ⇒ Object
Returns the value of attribute y
4 5 6 |
# File 'lib/active_record/connection_adapters/postgresql/oid/point.rb', line 4 def y @y end |