Methods
#
A
C
N
Included Modules
Attributes
[RW] apt_number
[RW] city
[R] country
[RW] state
[RW] street
[RW] zip
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
attributes()
# File activemodel/test/cases/serializers/xml_serialization_test.rb, line 19
def attributes
  instance_values
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