Class: Monban::Params::Validator
- Inherits:
-
Object
- Object
- Monban::Params::Validator
- Defined in:
- lib/monban/params.rb
Defined Under Namespace
Classes: Factory
Instance Method Summary collapse
- #call(key, value) ⇒ Object
-
#initialize(func, &message) ⇒ Validator
constructor
A new instance of Validator.
Constructor Details
#initialize(func, &message) ⇒ Validator
Returns a new instance of Validator.
16 17 18 19 |
# File 'lib/monban/params.rb', line 16 def initialize(func,&) @func = func @message = end |