Sha256: 217513ee73b57b8e4a31c75805cf18227023eb466ce8c861ba0c6333acde9684

Contents?: true

Size: 206 Bytes

Versions: 9

Compression:

Stored size: 206 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
ardm-core-1.3.0 lib/dm-core/core_ext/pathname.rb
ardm-core-1.2.1 lib/dm-core/core_ext/pathname.rb
dm-core-1.2.1 lib/dm-core/core_ext/pathname.rb
ghost_dm-core-1.3.0.beta lib/dm-core/core_ext/pathname.rb
dm-core-1.2.0 lib/dm-core/core_ext/pathname.rb
dm-core-1.2.0.rc2 lib/dm-core/core_ext/pathname.rb
dm-core-1.2.0.rc1 lib/dm-core/core_ext/pathname.rb
dm-core-1.1.0 lib/dm-core/core_ext/pathname.rb
dm-core-1.1.0.rc3 lib/dm-core/core_ext/pathname.rb