Module: FastExcel::WorkbookExt
- Includes:
- AttributeHelper
- Defined in:
- lib/fast_excel.rb
Instance Method Summary collapse
- #add_worksheet(sheetname = nil) ⇒ Object
- #bold_cell_format ⇒ Object
-
#number_format(pattern) ⇒ Object
“#,##0.00” “[$-409]m/d/yy h:mm AM/PM;@”.
Methods included from AttributeHelper
Instance Method Details
#add_worksheet(sheetname = nil) ⇒ Object
105 106 107 |
# File 'lib/fast_excel.rb', line 105 def add_worksheet(sheetname = nil) super end |
#bold_cell_format ⇒ Object
91 92 93 94 95 |
# File 'lib/fast_excel.rb', line 91 def bold_cell_format bold = add_format bold.set_bold bold end |
#number_format(pattern) ⇒ Object
“#,##0.00” “[$-409]m/d/yy h:mm AM/PM;@”
99 100 101 102 103 |
# File 'lib/fast_excel.rb', line 99 def number_format(pattern) format = add_format format.set_num_format(pattern) format end |