# File lib/dm-validations/validators/method_validator.rb, line 7definitialize(field_name, options={})
super@options[:method] = @field_nameunless@options.key?(:method)
end
Public Instance Methods
==(other)click to toggle source
# File lib/dm-validations/validators/method_validator.rb, line 18def==(other)
@options[:method] ==other.instance_variable_get(:@options)[:method] &&superend