Method: Axlsx::BorderPr#initialize

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

#initialize(options = {}) ⇒ BorderPr

Creates a new Border Part Object

Parameters:

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

    a customizable set of options

Options Hash (options):

  • color (Color)
  • name (Symbol)
  • style (Symbol)

See Also:



47
48
49
50
51
52
# File 'lib/axlsx/stylesheet/border_pr.rb', line 47

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