Module: Shoulda::Matchers::ActiveModel
- Defined in:
- lib/validates_rfc/require_a_valid_rfc_matcher.rb
Defined Under Namespace
Classes: RequireAValidRfcMatcher
Instance Method Summary collapse
Instance Method Details
#require_a_valid_rfc(attr = :rfc) ⇒ Object
8 9 10 |
# File 'lib/validates_rfc/require_a_valid_rfc_matcher.rb', line 8 def require_a_valid_rfc(attr = :rfc) RequireAValidRfcMatcher.new(attr) end |