Class: Xlsx::Elements::IndexedColor
- Inherits:
-
Struct
- Object
- Struct
- Xlsx::Elements::IndexedColor
- Defined in:
- lib/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
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 |