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
2 3 4 |
# File 'lib/active_record/connection_adapters/postgresql/oid/point.rb', line 2 def x @x end |
#y ⇒ Object
Returns the value of attribute y
2 3 4 |
# File 'lib/active_record/connection_adapters/postgresql/oid/point.rb', line 2 def y @y end |