aboutsummaryrefslogtreecommitdiff
path: root/lib/core_ext/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core_ext/string.rb')
-rw-r--r--lib/core_ext/string.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/core_ext/string.rb b/lib/core_ext/string.rb
deleted file mode 100644
index 07af8e5..0000000
--- a/lib/core_ext/string.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# make ruby 1.9 act more like ruby 1.8
-#
-unless String.method_defined?(:to_a)
- class String
- def to_a; [self]; end
- end
-end
-
-unless String.method_defined?(:any?)
- class String
- def any?; self.chars.any?; end
- end
-end