Sha256: 1466cc2bd2f0de86ad5eac526ae161c622f080b02330d959603007addee0284b

Contents?: true

Size: 165 Bytes

Versions: 3

Compression:

Stored size: 165 Bytes

Contents

class Pathname

  # Alias #to_s to #to_str when #to_str is not defined.
  #
  # Returns [String]
  alias_method(:to_str, :to_s) unless method_defined?(:to_str)

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/standard/facets/pathname/to_str.rb
facets-3.1.0 lib/standard/facets/pathname/to_str.rb
facets-3.0.0 lib/standard/facets/pathname/to_str.rb