Sha256: f90a87659cc84ebb49c087fc0598cc39732e7c17ecaf838ec8f4e86332de253b

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module Thinreports
  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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
thinreports-0.12.1 lib/thinreports/core/shape/text/internal.rb
thinreports-0.12.0 lib/thinreports/core/shape/text/internal.rb
thinreports-0.11.0 lib/thinreports/core/shape/text/internal.rb
thinreports-0.10.3 lib/thinreports/core/shape/text/internal.rb
thinreports-0.10.2 lib/thinreports/core/shape/text/internal.rb
thinreports-0.10.1 lib/thinreports/core/shape/text/internal.rb
thinreports-0.10.0 lib/thinreports/core/shape/text/internal.rb