Sha256: 5a33361ed88bf630896ce0ec468d2ec15a086e739366d66bb41b20a948da24a8

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

# coding: utf-8

module Thinreports
  module Core::Shape

    class Basic::Format < Core::Format::Base
      include Utils

      config_reader :type, :id
      config_reader svg_tag: %w( svg tag ),
                    svg_attrs: %w( svg attrs )

      config_checker 'true', :display

      class << self
      private

        # @param [Hash] raw_format
        # @return [Thinreports::Core::Shape::Basic::Format]
        def build_internal(raw_format)
          new(raw_format)
        end
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thinreports-0.8.2 lib/thinreports/core/shape/basic/format.rb
thinreports-0.8.1 lib/thinreports/core/shape/basic/format.rb
thinreports-0.8.0 lib/thinreports/core/shape/basic/format.rb