class Shoulda::Matchers::ActiveModel::Validator
def initialize(record, attribute, options = {})
def initialize(record, attribute, options = {}) @record = record @attribute = attribute @context = options[:context] @expects_strict = options[:expects_strict] @expected_message = options[:expected_message] @_validation_result = nil @captured_validation_exception = false @captured_range_error = false end