Class: RubyXL::Fill

Inherits:
OOXMLObject show all
Defined in:
lib/rubyXL/objects/fill.rb

Overview

Class Method Summary collapse

Methods included from OOXMLObjectInstanceMethods

#==, #before_write_xml, included, #index_in_collection, #initialize, #write_xml

Class Method Details

.default(pattern_type) ⇒ Object


39
40
41
# File 'lib/rubyXL/objects/fill.rb', line 39

def self.default(pattern_type)
  self.new(:pattern_fill => RubyXL::PatternFill.new(:pattern_type => pattern_type))
end