Class: OoxmlParser::SchemeColor

Inherits:
Object
  • Object
show all
Defined in:
lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_colorObject

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

#propertiesObject

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

#valueObject

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_sObject



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