Class: Dtn::ParseListFromMessage
- Defined in:
- lib/dtn/message.rb
Overview
For messages which return a collection of comma separated values.
Direct Known Subclasses
Messages::System::Generic::AllUpdateFieldnames, Messages::System::Generic::CurrentUpdateFieldnames, Messages::System::Generic::FundamentalFieldnames, Messages::System::Generic::Ip, Messages::System::Generic::Watches
Class Method Summary collapse
Methods inherited from Message
Class Method Details
.parse(line:) ⇒ Object
24 25 26 |
# File 'lib/dtn/message.rb', line 24 def parse(line:, **) new list: line.chomp.split(",").uniq end |