Class: OoxmlParser::SchemeColor
- Inherits:
-
Object
- Object
- OoxmlParser::SchemeColor
- Defined in:
- lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
Instance Attribute Summary collapse
-
#converted_color ⇒ Object
Returns the value of attribute converted_color.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value = nil, converted_color = 0) ⇒ SchemeColor
constructor
A new instance of SchemeColor.
- #to_s ⇒ Object
Constructor Details
#initialize(value = nil, converted_color = 0) ⇒ SchemeColor
Returns a new instance of SchemeColor.
5 6 7 8 |
# File 'lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb', line 5 def initialize(value = nil, converted_color = 0) @value = value @converted_color = converted_color end |
Instance Attribute Details
#converted_color ⇒ Object
Returns the value of attribute converted_color.
3 4 5 |
# File 'lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb', line 3 def converted_color @converted_color end |
#properties ⇒ Object
Returns the value of attribute properties.
3 4 5 |
# File 'lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb', line 3 def properties @properties end |
#value ⇒ Object
Returns the value of attribute value.
3 4 5 |
# File 'lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb', line 3 def value @value end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb', line 10 def to_s @converted_color.to_s end |