Method: Axlsx::Font#initialize
- Defined in:
- lib/axlsx/stylesheet/font.rb
#initialize(options = {}) ⇒ Font
Creates a new Font
98 99 100 101 102 |
# File 'lib/axlsx/stylesheet/font.rb', line 98 def initialize(={}) .each do |o| self.send("#{o[0]}=", o[1]) if self.respond_to? o[0] end end |