Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/at-validations.rb
Instance Method Summary collapse
Instance Method Details
#matches_predicate(predicate) ⇒ Object
23 24 25 |
# File 'lib/at-validations.rb', line 23 def matches_predicate(predicate) predicate.call(self) end |