Sha256: f6a45b79eb5878490e2d8430ea816653bd289d7f60c8ef17c4eaf5d07d3a067e

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

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