Class: Xlsx::Elements::IndexedColor

Inherits:
Struct
  • Object
show all
Defined in:
lib/xlsx/elements/indexed_color.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#indexedObject

Returns the value of attribute indexed



3
4
5
# File 'lib/xlsx/elements/indexed_color.rb', line 3

def indexed
  @indexed
end

Instance Method Details

#to_xml(name, xml) ⇒ Object



5
6
7
# File 'lib/xlsx/elements/indexed_color.rb', line 5

def to_xml(name, xml)
  xml.public_send(name, indexed: indexed)
end