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
136 137 138 |
# File 'lib/decisive/template_handler.rb', line 136 def block @block end |
#filename ⇒ Object
Returns the value of attribute filename
136 137 138 |
# File 'lib/decisive/template_handler.rb', line 136 def filename @filename end |
#worksheets ⇒ Object
Returns the value of attribute worksheets
136 137 138 |
# File 'lib/decisive/template_handler.rb', line 136 def worksheets @worksheets end |
Instance Method Details
#csv? ⇒ Boolean
141 142 143 |
# File 'lib/decisive/template_handler.rb', line 141 def csv? false end |
#to_xls ⇒ Object
137 138 139 |
# File 'lib/decisive/template_handler.rb', line 137 def to_xls to_string(render(Spreadsheet::Workbook.new)) end |