Class: Decisive::XLSContext
- Inherits:
-
Struct
- Object
- Struct
- Decisive::XLSContext
- Defined in:
- lib/decisive/template_handler.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#worksheets ⇒ Object
Returns the value of attribute worksheets.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
135 136 137 |
# File 'lib/decisive/template_handler.rb', line 135 def block @block end |
#filename ⇒ Object
Returns the value of attribute filename
135 136 137 |
# File 'lib/decisive/template_handler.rb', line 135 def filename @filename end |
#worksheets ⇒ Object
Returns the value of attribute worksheets
135 136 137 |
# File 'lib/decisive/template_handler.rb', line 135 def worksheets @worksheets end |
Instance Method Details
#csv? ⇒ Boolean
140 141 142 |
# File 'lib/decisive/template_handler.rb', line 140 def csv? false end |
#to_xls ⇒ Object
136 137 138 |
# File 'lib/decisive/template_handler.rb', line 136 def to_xls to_string(render(Spreadsheet::Workbook.new)) end |