aboutsummaryrefslogtreecommitdiff
path: root/lib/core_ext/string.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-24 22:45:27 -0800
committerelijah <elijah@riseup.net>2014-11-24 22:45:27 -0800
commitb839376a507e37a048ea2df53127ed0884310f60 (patch)
tree68ba30a77c51a3ee1a2c9ddd7187e6743cff08f1 /lib/core_ext/string.rb
parent8450768268c2bdf82cd6d6bfa9972c70bc5cdcac (diff)
downloadleap_cli-b839376a507e37a048ea2df53127ed0884310f60.tar.gz
leap_cli-b839376a507e37a048ea2df53127ed0884310f60.tar.bz2
moved core_ext and lib_ext under leap_clidevelop
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