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
72 73 74 |
# File 'lib/decisive/template_handler.rb', line 72 def block @block end |
#filename ⇒ Object
Returns the value of attribute filename
72 73 74 |
# File 'lib/decisive/template_handler.rb', line 72 def filename @filename end |
#worksheets ⇒ Object
Returns the value of attribute worksheets
72 73 74 |
# File 'lib/decisive/template_handler.rb', line 72 def worksheets @worksheets end |
Instance Method Details
#csv? ⇒ Boolean
77 78 79 |
# File 'lib/decisive/template_handler.rb', line 77 def csv? false end |
#to_xls ⇒ Object
73 74 75 |
# File 'lib/decisive/template_handler.rb', line 73 def to_xls to_string(render(Spreadsheet::Workbook.new)) end |