From 18318887920773d43b72e9fb6490d3e74674bcf0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Jun 2011 03:30:39 +0000 Subject: fix Ruby warnings Found in the check-warnings target in pkg.mk --- examples/linux-listener-stats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/linux-listener-stats.rb b/examples/linux-listener-stats.rb index 0b0a6dd..1008995 100755 --- a/examples/linux-listener-stats.rb +++ b/examples/linux-listener-stats.rb @@ -21,7 +21,7 @@ queued_thresh = -1 trap(:INT) { exit 130 } trap(:PIPE) { exit 0 } -opts = OptionParser.new('', 24, ' ') do |opts| +OptionParser.new('', 24, ' ') do |opts| opts.banner = usage opts.on('-d', '--delay=DELAY', Float) { |n| delay = n } opts.on('-t', '--queued-threshold=INT', Integer) { |n| queued_thresh = n } -- cgit v1.2.3-24-ge0c7