Class: Necromancer::NullConverter
- Defined in:
- lib/necromancer/null_converter.rb
Overview
A pass through converter
Instance Attribute Summary
Attributes inherited from Converter
#config, #convert, #source, #target
Instance Method Summary collapse
Methods inherited from Converter
create, #initialize, #raise_conversion_type
Constructor Details
This class inherits a constructor from Necromancer::Converter
Instance Method Details
#call(value, strict: config.strict) ⇒ Object
8 9 10 |
# File 'lib/necromancer/null_converter.rb', line 8 def call(value, strict: config.strict) value end |