Class: Rabarber::Input::Types::Proc
- Defined in:
- lib/rabarber/input/types/proc.rb
Instance Attribute Summary
Attributes inherited from Base
#error_message, #error_type, #value
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rabarber::Input::Base
Instance Method Details
#valid? ⇒ Boolean
7 8 9 |
# File 'lib/rabarber/input/types/proc.rb', line 7 def valid? value.is_a?(::Proc) end |