Sha256: 931dd60af8ba0fe34b05eb53fb5d03902c1186a37dbb8b5c7f44d690faea1726

Contents?: true

Size: 179 Bytes

Versions: 2

Compression:

Stored size: 179 Bytes

Contents

class Pathname
  # alias_method :to_s, :to to_str when to_str not defined
  alias_method :to_str, :to_s unless public_instance_methods(false).any? { |m| m.to_sym == :to_str }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sbf-dm-core-1.3.0 lib/dm-core/core_ext/pathname.rb
sbf-dm-core-1.3.0.beta lib/dm-core/core_ext/pathname.rb