Module: Stove::Mixin::Validatable
- Included in:
- Action::Base, Plugin::Base
- Defined in:
- lib/stove/mixins/validatable.rb
Instance Method Summary collapse
Instance Method Details
#validate(id, &block) ⇒ Object
3 4 5 |
# File 'lib/stove/mixins/validatable.rb', line 3 def validate(id, &block) Runner.validations << Validator.new(self, id, &block) end |