Class: Parser::Presenter
- Inherits:
-
Object
- Object
- Parser::Presenter
- Defined in:
- lib/parser/presenter.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(data, options = {}) ⇒ Presenter
constructor
A new instance of Presenter.
Constructor Details
#initialize(data, options = {}) ⇒ Presenter
Returns a new instance of Presenter.
7 8 9 10 |
# File 'lib/parser/presenter.rb', line 7 def initialize(data, = {}) @data = data = end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/parser/presenter.rb', line 5 def data @data end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/parser/presenter.rb', line 5 def end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/parser/presenter.rb', line 12 def call output_formatted_data end |