Sha256: dbfea4eb2c72696c2fd15ed74cbf858d2911399adf47accd346d6e6bc1b3a3b2

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true

module Dry
  module Types
    # @api private
    module Printable
      # @return [String]
      #
      # @api private
      def to_s = PRINTER.(self) { super }
      alias_method :inspect, :to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-types-1.8.0 lib/dry/types/printable.rb