Class: RubyXL::Fills

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

Overview

Class Method Summary collapse

Methods inherited from OOXMLContainerObject

#before_write_xml, define_count_attribute, #initialize, #inspect

Methods included from OOXMLObjectInstanceMethods

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

Constructor Details

This class inherits a constructor from RubyXL::OOXMLContainerObject

Class Method Details

.defaultsObject



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

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