Methods
#
L
N
Attributes
[R] gps_location
Class Public methods
new(gps_location)
# File rails/activerecord/test/fixtures/customer.rb, line 40
def initialize(gps_location)
  @gps_location = gps_location
end
Instance Public methods
==(other)
# File rails/activerecord/test/fixtures/customer.rb, line 52
def ==(other)
  self.latitude == other.latitude && self.longitude == other.longitude
end
latitude()
# File rails/activerecord/test/fixtures/customer.rb, line 44
def latitude
  gps_location.split("x").first
end
longitude()
# File rails/activerecord/test/fixtures/customer.rb, line 48
def longitude
  gps_location.split("x").last
end