Method: Wayback::Base#attr_equal
- Defined in:
- lib/wayback/base.rb
#attr_equal(attr, other) ⇒ Boolean (protected)
116 117 118 |
# File 'lib/wayback/base.rb', line 116 def attr_equal(attr, other) self.class == other.class && !other.send(attr).nil? && send(attr) == other.send(attr) end |