Class: MarkdownExport
- Inherits:
-
Object
- Object
- MarkdownExport
- Defined in:
- lib/doing/markdown_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) ⇒ MarkdownExport
constructor
A new instance of MarkdownExport.
Constructor Details
#initialize(page_title, items, totals) ⇒ MarkdownExport
Returns a new instance of MarkdownExport.
7 8 9 10 11 |
# File 'lib/doing/markdown_export.rb', line 7 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.
5 6 7 |
# File 'lib/doing/markdown_export.rb', line 5 def items @items end |
#page_title ⇒ Object
Returns the value of attribute page_title.
5 6 7 |
# File 'lib/doing/markdown_export.rb', line 5 def page_title @page_title end |
#totals ⇒ Object
Returns the value of attribute totals.
5 6 7 |
# File 'lib/doing/markdown_export.rb', line 5 def totals @totals end |
Instance Method Details
#get_binding ⇒ Object
13 14 15 |
# File 'lib/doing/markdown_export.rb', line 13 def get_binding binding() end |