From b839376a507e37a048ea2df53127ed0884310f60 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 24 Nov 2014 22:45:27 -0800 Subject: moved core_ext and lib_ext under leap_cli --- lib/core_ext/string.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/core_ext/string.rb (limited to 'lib/core_ext/string.rb') 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 -- cgit v1.2.3