Class: Vedeu::View
- Inherits:
-
Object
- Object
- Vedeu::View
- Defined in:
- lib/vedeu/parsing/view.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type, output) ⇒ View
constructor
A new instance of View.
- #render ⇒ Object
Constructor Details
#initialize(type, output) ⇒ View
Returns a new instance of View.
14 15 16 |
# File 'lib/vedeu/parsing/view.rb', line 14 def initialize(type, output) @type, @output = type, output end |
Class Method Details
.render(type, output) ⇒ Object
10 11 12 |
# File 'lib/vedeu/parsing/view.rb', line 10 def self.render(type, output) new(type, output).render end |
Instance Method Details
#render ⇒ Object
18 19 20 |
# File 'lib/vedeu/parsing/view.rb', line 18 def render Composition.enqueue(parsed_output) end |