Sha256: af7099a9bf79001d960b91a89727507101fe5090e9f909993abf130ac5521288

Contents?: true

Size: 493 Bytes

Versions: 5

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

module Thinreports
  module BasicReport
    module Core
      module Shape
        module Text
          class 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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.14.2 lib/thinreports/basic_report/core/shape/text/internal.rb
thinreports-0.14.1 lib/thinreports/basic_report/core/shape/text/internal.rb
thinreports-0.14.0 lib/thinreports/basic_report/core/shape/text/internal.rb
thinreports-0.13.1 lib/thinreports/basic_report/core/shape/text/internal.rb
thinreports-0.13.0 lib/thinreports/basic_report/core/shape/text/internal.rb