Methods
#
C
N
Attributes
[R] city
[R] country
[R] street
Class Public methods
new(street, city, country)
# File activerecord/test/models/customer.rb, line 15
def initialize(street, city, country)
  @street, @city, @country = street, city, country
end
Instance Public methods
==(other)
# File activerecord/test/models/customer.rb, line 23
def ==(other)
  other.is_a?(self.class) && other.street == street && other.city == city && other.country == country
end
close_to?(other_address)
# File activerecord/test/models/customer.rb, line 19
def close_to?(other_address)
  city == other_address.city && country == other_address.country
end