Class: RubyXL::XF

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

Overview

Instance Method Summary collapse

Methods included from OOXMLObjectClassMethods

#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable

Methods included from OOXMLObjectInstanceMethods

#before_write_xml, #dup, #index_in_collection, #initialize, #write_xml

Instance Method Details

#==(other) ⇒ Object



58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/rubyXL/objects/cell_style.rb', line 58

def ==(other)
  (self.num_fmt_id == other.num_fmt_id) &&
    (self.font_id    == other.font_id) &&
    (self.fill_id    == other.fill_id) &&
    (self.border_id  == other.border_id) &&
    (self.apply_number_format == other.apply_number_format) &&
    (self.apply_font          == other.apply_font) &&
    (self.apply_fill          == other.apply_fill) &&
    (self.apply_border        == other.apply_border) &&
    (self.apply_alignment     == other.apply_alignment) &&
    (self.apply_protection    == other.apply_protection) &&
    (self.xf_id               == other.xf_id)
end