Class: OpenXml::Xlsx::Elements::IndexedColor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#indexedObject

Returns the value of attribute indexed

Returns:

  • (Object)

    the current value of indexed



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

def indexed
  @indexed
end

Instance Method Details

#to_xml(name, xml) ⇒ Object



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

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