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
173 174 175 |
# File 'lib/fast_excel.rb', line 173 def font_family font_name end |
#font_family=(value) ⇒ Object
177 178 179 |
# File 'lib/fast_excel.rb', line 177 def font_family=(value) self.font_name = value end |
#set_font_size(value) ⇒ Object
166 167 168 169 170 171 |
# File 'lib/fast_excel.rb', line 166 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 |