Class: RubyXL::FillContainer

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

Overview

Class Method Summary collapse

Methods inherited from OOXMLObject

#before_write_xml, define_attribute, define_child_node, define_element_name, #dup, #index_in_collection, #initialize, obtain_class_variable, parse, set_countable, #write_xml

Constructor Details

This class inherits a constructor from RubyXL::OOXMLObject

Class Method Details

.defaultsObject



46
47
48
49
50
51
# File 'lib/rubyXL/objects/fill.rb', line 46

def self.defaults
  self.new(:fills => [
             RubyXL::Fill.new(:pattern_fill => RubyXL::PatternFill.new(:pattern_type => 'none')),
             RubyXL::Fill.new(:pattern_fill => RubyXL::PatternFill.new(:pattern_type => 'gray125'))
           ])
end