Method: Writeexcel::Format#set_type

Defined in:
lib/writeexcel/format.rb

#set_type(type = nil) ⇒ Object

Set the XF object type as 0 = cell XF or 0xFFF5 = style XF.



618
619
620
621
622
623
624
625
# File 'lib/writeexcel/format.rb', line 618

def set_type(type = nil)  # :nodoc:

  if !type.nil? and type == 0
    @type = 0x0000
  else
    @type = 0xFFF5
  end
end