Method: ActiveRecord::Point#x

Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/oid/point.rb

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



4
5
6
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/point.rb', line 4

def x
  @x
end