Sha256: b1b376173a28706bd7057cdf72ca1a0d58638090d05bd922d0f36fd5aea7daba

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

# coding: utf-8

module Thinreports
  module Core::Shape

    class Text::Internal < Basic::Internal
      # Delegate to Format's methods
      format_delegators :texts, :box

      def style
        @style ||= Style::Text.new(format)
      end

      def type_of?(type_name)
        type_name == Text::TYPE_NAME
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thinreports-0.9.1 lib/thinreports/core/shape/text/internal.rb
thinreports-0.9.0 lib/thinreports/core/shape/text/internal.rb