Sha256: aa7a9cb1ffdbd2bc8fe602a713cd1e30ed8feba13462b2972e94520bfca6c91b

Contents?: true

Size: 446 Bytes

Versions: 45

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

module OoxmlParser
  # Class for working with SchemeColor
  class SchemeColor
    attr_accessor :value, :properties, :converted_color

    def initialize(value = nil, converted_color = 0, parent: nil)
      @value = value
      @converted_color = converted_color
      @parent = parent
    end

    # @return [String] result of convert of object to string
    def to_s
      @converted_color.to_s
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ooxml_parser-0.8.1 lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
ooxml_parser-0.8.0 lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
ooxml_parser-0.7.2 lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
ooxml_parser-0.7.1 lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
ooxml_parser-0.7.0 lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb