Class: OpenXml::Xlsx::Elements::ThemeColor
- Inherits:
-
Struct
- Object
- Struct
- OpenXml::Xlsx::Elements::ThemeColor
- Defined in:
- lib/openxml/xlsx/elements/theme_color.rb
Instance Attribute Summary collapse
-
#theme ⇒ Object
Returns the value of attribute theme.
-
#tint ⇒ Object
Returns the value of attribute tint.
Instance Method Summary collapse
Instance Attribute Details
#theme ⇒ Object
Returns the value of attribute theme
4 5 6 |
# File 'lib/openxml/xlsx/elements/theme_color.rb', line 4 def theme @theme end |
#tint ⇒ Object
Returns the value of attribute tint
4 5 6 |
# File 'lib/openxml/xlsx/elements/theme_color.rb', line 4 def tint @tint end |
Instance Method Details
#to_xml(name, xml) ⇒ Object
6 7 8 |
# File 'lib/openxml/xlsx/elements/theme_color.rb', line 6 def to_xml(name, xml) xml.public_send(name, theme: theme, tint: tint) end |