Class: Reaction::RawType
Instance Attribute Summary
Attributes inherited from Type
#action, #error, #options, #result, #successful
Instance Method Summary collapse
Methods inherited from Type
#failed?, #failure, #initialize, #process, #process_subtype, #success, #successful?, to_type_symbol, #validate_with
Constructor Details
This class inherits a constructor from Reaction::Type
Instance Method Details
#convert(raw_value) ⇒ Object
7 8 9 |
# File 'lib/reaction/types/raw_type.rb', line 7 def convert(raw_value) success(raw_value) end |