Diffstat (limited to 'ext/pathname/lib')
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 82541e9..f5db526 100644
@@ -13,13 +13,8 @@ require 'pathname.so'
- # :stopdoc:
- if RUBY_VERSION < "1.9"
- TO_PATH = :to_str
- # to_path is implemented so Pathname objects are usable with File.open, etc.
- TO_PATH = :to_path
+ # to_path is implemented so Pathname objects are usable with File.open, etc.
+ TO_PATH = :to_path
SAME_PATHS = if File::FNM_SYSCASE.nonzero?
# Avoid #zero? here because #casecmp can return nil.