Class: RubyXL::XF

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

Overview

Instance Method Summary collapse

Methods inherited from OOXMLObject

#add_to_zip, #before_write_xml, define_attribute, define_child_node, define_element_name, #dup, filepath, #index_in_collection, #initialize, obtain_class_variable, parse, parse_file, set_countable, set_namespaces, #write_xml

Constructor Details

This class inherits a constructor from RubyXL::OOXMLObject

Instance Method Details

#==(other) ⇒ Object



59
60
61
62
63
64
65
# File 'lib/rubyXL/objects/cell_style.rb', line 59

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.xf_id == other.xf_id)
end