Class: RubyXL::Fill

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

Overview

Instance Attribute Summary

Attributes included from OOXMLObjectInstanceMethods

#local_namespaces

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



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

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