summaryrefslogtreecommitdiff
path: root/lib/abbrev.rb
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 /lib/abbrev.rb
parentc2eac0e78c35fc7c23c4ec7024d7555b31d7bae6 (diff)
* lib/abbrev.rb: remove executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/abbrev.rb')
-rw-r--r--[-rwxr-xr-x]lib/abbrev.rb11
1 files changed, 0 insertions, 11 deletions
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