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