Class: Ecu::DcmPropertyParser
- Inherits:
-
Object
- Object
- Ecu::DcmPropertyParser
- Defined in:
- lib/ecu/interfaces/dcm/property_parser.rb
Class Method Summary collapse
Class Method Details
.call(line) ⇒ Object
4 5 6 7 |
# File 'lib/ecu/interfaces/dcm/property_parser.rb', line 4 def self.call(line) key, _, value = line.strip.partition(/\s+/) eval_property(key, value) end |