Methods
Attributes
[R] | city | |
[R] | country | |
[R] | street |
Class Public methods
Source: show
# File rails/actionpack/test/controller/addresses_render_test.rb, line 5 def Address.count(conditions = nil, join = nil) nil end
Source: show
# File rails/actionpack/test/controller/addresses_render_test.rb, line 13 def self.find(*args) [] end
Source: show
# File rails/actionpack/test/controller/addresses_render_test.rb, line 9 def Address.find_all(arg1, arg2, arg3, arg4) [] end
Source: show
# File rails/activerecord/test/fixtures/customer.rb, line 10 def initialize(street, city, country) @street, @city, @country = street, city, country end
Instance Public methods
Source: show
# File rails/activerecord/test/fixtures/customer.rb, line 18 def ==(other) other.is_a?(self.class) && other.street == street && other.city == city && other.country == country end
Source: show
# File rails/activerecord/test/fixtures/customer.rb, line 14 def close_to?(other_address) city == other_address.city && country == other_address.country end