Method: DataMapper::Validations::MethodValidator#==

Defined in:
lib/dm-validations/validators/method_validator.rb

#==(other) ⇒ Object

Since:

  • 0.9



18
19
20
# File 'lib/dm-validations/validators/method_validator.rb', line 18

def ==(other)
  @options[:method] == other.instance_variable_get(:@options)[:method] && super
end