Module: ActiveModel::Validations::HashValuesValidator::HashValidatorKey

Defined in:
lib/can_has_validations/validators/hash_values_validator.rb

Instance Method Summary collapse

Instance Method Details

#hash_validator_keyObject



44
45
46
# File 'lib/can_has_validations/validators/hash_values_validator.rb', line 44

def hash_validator_key
  @_hash_validator_key
end

#hash_validator_key=(v) ⇒ Object



48
49
50
# File 'lib/can_has_validations/validators/hash_values_validator.rb', line 48

def hash_validator_key=(v)
  @_hash_validator_key = v
end