Class: Doing::DayOneRenderer
- Defined in:
- lib/doing/plugins/export/dayone_export.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
-
#page_title ⇒ Object
Returns the value of attribute page_title.
-
#totals ⇒ Object
Returns the value of attribute totals.
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(page_title, items, totals) ⇒ DayOneRenderer
constructor
A new instance of DayOneRenderer.
Constructor Details
#initialize(page_title, items, totals) ⇒ DayOneRenderer
Returns a new instance of DayOneRenderer.
13 14 15 16 17 |
# File 'lib/doing/plugins/export/dayone_export.rb', line 13 def initialize(page_title, items, totals) @page_title = page_title @items = items @totals = totals end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
11 12 13 |
# File 'lib/doing/plugins/export/dayone_export.rb', line 11 def items @items end |
#page_title ⇒ Object
Returns the value of attribute page_title.
11 12 13 |
# File 'lib/doing/plugins/export/dayone_export.rb', line 11 def page_title @page_title end |
#totals ⇒ Object
Returns the value of attribute totals.
11 12 13 |
# File 'lib/doing/plugins/export/dayone_export.rb', line 11 def totals @totals end |
Instance Method Details
#get_binding ⇒ Object
19 20 21 |
# File 'lib/doing/plugins/export/dayone_export.rb', line 19 def get_binding binding() end |