Class: OpenXml::Xlsx::Elements::IndexedColor
- Inherits:
-
Struct
- Object
- Struct
- OpenXml::Xlsx::Elements::IndexedColor
- Defined in:
- lib/openxml/xlsx/elements/indexed_color.rb
Instance Attribute Summary collapse
-
#indexed ⇒ Object
Returns the value of attribute indexed.
Instance Method Summary collapse
Instance Attribute Details
#indexed ⇒ Object
Returns the value of attribute 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 |