Class: RubyXL::Fonts
- Inherits:
-
OOXMLContainerObject
- Object
- Array
- OOXMLContainerObject
- RubyXL::Fonts
- Defined in:
- lib/rubyXL/objects/font.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
.defaults ⇒ Object
93 94 95 96 97 98 99 100 |
# File 'lib/rubyXL/objects/font.rb', line 93 def self.defaults self.new(:_ => [ RubyXL::Font.new(:name => RubyXL::StringValue.new(:val => 'Verdana'), :sz => RubyXL::FloatValue.new(:val => 10) ), RubyXL::Font.new(:name => RubyXL::StringValue.new(:val => 'Verdana'), :sz => RubyXL::FloatValue.new(:val => 8) ) ]) end |