Merge Ruby 1.9 fixes from evaryont/master
This commit is contained in:
commit
889fcb286b
@ -14,7 +14,7 @@ require 'fileutils'
|
|||||||
|
|
||||||
# Write usage message to stdout and exit.
|
# Write usage message to stdout and exit.
|
||||||
def usage(stream=$stderr, status=1)
|
def usage(stream=$stderr, status=1)
|
||||||
stream.puts File.read(__FILE__).
|
stream.puts File.readlines(__FILE__).
|
||||||
grep(/^#\//).
|
grep(/^#\//).
|
||||||
map { |line| line.sub(/^#. ?/, '') }.
|
map { |line| line.sub(/^#. ?/, '') }.
|
||||||
join
|
join
|
||||||
|
Loading…
Reference in New Issue
Block a user