Module: FastExcel::FormatExt
- Includes:
- AttributeHelper
- Defined in:
- lib/fast_excel.rb
Instance Method Summary collapse
Methods included from AttributeHelper
Instance Method Details
#font_family ⇒ Object
229 230 231 |
# File 'lib/fast_excel.rb', line 229 def font_family font_name end |
#font_family=(value) ⇒ Object
233 234 235 |
# File 'lib/fast_excel.rb', line 233 def font_family=(value) self.font_name = value end |
#set_font_size(value) ⇒ Object
222 223 224 225 226 227 |
# File 'lib/fast_excel.rb', line 222 def set_font_size(value) if value < 0 raise ArgumentError, "font size should be >= 0 (use 0 for user default font size)" end super(value) end |