Class: Vedeu::Parser
- Inherits:
-
Object
- Object
- Vedeu::Parser
- Defined in:
- lib/vedeu/parsing/parser.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(output = {}) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(output = {}) ⇒ Parser
Returns a new instance of Parser.
16 17 18 |
# File 'lib/vedeu/parsing/parser.rb', line 16 def initialize(output = {}) @output = output end |
Class Method Details
.parse(output = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/vedeu/parsing/parser.rb', line 10 def self.parse(output = {}) return nil if output.nil? || output.empty? new(output).parse end |
Instance Method Details
#parse ⇒ Object
20 21 22 |
# File 'lib/vedeu/parsing/parser.rb', line 20 def parse Compositor.enqueue(parsed_output) end |