Class: RSlog::Parser
- Inherits:
-
Object
- Object
- RSlog::Parser
- Defined in:
- lib/rslog/parser.rb
Overview
Class to parse data
Instance Attribute Summary collapse
-
#data_processing ⇒ Object
readonly
Returns the value of attribute data_processing.
Instance Method Summary collapse
-
#initialize(data_processing) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(data_processing) ⇒ Parser
Returns a new instance of Parser.
9 10 11 |
# File 'lib/rslog/parser.rb', line 9 def initialize(data_processing) @data_processing = data_processing end |
Instance Attribute Details
#data_processing ⇒ Object (readonly)
Returns the value of attribute data_processing.
7 8 9 |
# File 'lib/rslog/parser.rb', line 7 def data_processing @data_processing end |
Instance Method Details
#parse ⇒ Object
13 14 15 |
# File 'lib/rslog/parser.rb', line 13 def parse data_processing.extract.group.calculate.order.result end |