Method: Axlsx::Dxf#initialize

Defined in:
lib/axlsx/stylesheet/dxf.rb

#initialize(options = {}) ⇒ Dxf

Creates a new Xf object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):



44
45
46
47
48
49
# File 'lib/axlsx/stylesheet/dxf.rb', line 44

def initialize(options={})
  options.each do |o|
    next if o[1].nil?
    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
  end
end