ruby-changes:34701
From: hsbt <ko1@a...>
Date: Fri, 11 Jul 2014 17:16:25 +0900 (JST)
Subject: [ruby-changes:34701] hsbt:r46784 (trunk): * lib/abbrev.rb: remove executable.
hsbt 2014-07-11 17:16:05 +0900 (Fri, 11 Jul 2014) New Revision: 46784 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46784 Log: * lib/abbrev.rb: remove executable. Modified files: trunk/ChangeLog trunk/lib/abbrev.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46783) +++ ChangeLog (revision 46784) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jul 11 17:15:08 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * lib/abbrev.rb: remove executable. + Fri Jul 11 16:45:39 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> * lib/fileutils.rb: handle ENOENT error with symlink targeted to Index: lib/abbrev.rb =================================================================== --- lib/abbrev.rb (revision 46783) +++ lib/abbrev.rb (revision 46784) @@ -1,4 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/lib/abbrev.rb#L1 -#!/usr/bin/env ruby #-- # Copyright (c) 2001,2003 Akinori MUSHA <knu@i...> # @@ -130,13 +129,3 @@ class Array https://github.com/ruby/ruby/blob/trunk/lib/abbrev.rb#L129 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 Property changes on: lib/abbrev.rb ___________________________________________________________________ Deleted: svn:executable - * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/