Method: OpenC3::GenericConversion#call
- Defined in:
- lib/openc3/conversions/generic_conversion.rb
#call(value, packet, buffer) ⇒ Object
Perform the conversion on the value.
52 53 54 55 56 57 |
# File 'lib/openc3/conversions/generic_conversion.rb', line 52 def call(value, packet, buffer) myself = packet # For backwards compatibility if true or myself # Remove unused variable warning for myself return eval(@code_to_eval) end end |