Method: Cosmos::ProcessorConversion#call
- Defined in:
- lib/cosmos/conversions/processor_conversion.rb
#call(value, packet, buffer) ⇒ Varies
Returns The result of the associated processor.
42 43 44 |
# File 'lib/cosmos/conversions/processor_conversion.rb', line 42 def call(value, packet, buffer) packet.processors[@processor_name].results[@result_name] || 0 # Never return nil end |