Method: Wayback::Base#attrs_equal

Defined in:
lib/wayback/base.rb

#attrs_equal(other) ⇒ Boolean (protected)

Parameters:

Returns:

  • (Boolean)


122
123
124
# File 'lib/wayback/base.rb', line 122

def attrs_equal(other)
  self.class == other.class && !other.attrs.empty? && attrs == other.attrs
end