diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r--[-rwxr-xr-x] | lib/abbrev.rb | 11 |
2 files changed, 4 insertions, 11 deletions
@@ -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 |