summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-11 08:16:05 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-11 08:16:05 +0000
commit28cdf9b1d1e261b9fda792acf45396698968a315 (patch)
treee23fe7a73644deda719bc3c2cb681e2060a55e8a
parentc2eac0e78c35fc7c23c4ec7024d7555b31d7bae6 (diff)
* lib/abbrev.rb: remove executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--[-rwxr-xr-x]lib/abbrev.rb11
2 files changed, 4 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index a02c08245a..6cb565cf7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jul 11 17:15:08 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+
+ * lib/abbrev.rb: remove executable.
+
Fri Jul 11 16:45:39 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
diff --git a/lib/abbrev.rb b/lib/abbrev.rb
index f8c518ca89..2c07fb5cf9 100755..100644
--- a/lib/abbrev.rb
+++ b/lib/abbrev.rb
@@ -1,4 +1,3 @@
-#!/usr/bin/env ruby
#--
# Copyright (c) 2001,2003 Akinori MUSHA <knu@iDaemons.org>
#
@@ -130,13 +129,3 @@ class Array
Abbrev::abbrev(self, pattern)
end
end
-
-if $0 == __FILE__
- while line = gets
- hash = line.split.abbrev
-
- hash.sort.each do |k, v|
- puts "#{k} => #{v}"
- end
- end
-end