# File lib/active_model/validations/with.rb, line 12 12: def validate_each(record, attr, val) 13: method_name = options[:with] 14: 15: if record.method(method_name).arity == 0 16: record.send method_name 17: else 18: record.send method_name, attr 19: end 20: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.