From 7dd232ed54a24bb53ddc9fa97b7860bf656b779d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 15 Mar 2014 06:50:58 +0000 Subject: minor style fix for consistency We favor foo(&:bar) when possible for conciseness. --- lib/yahns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/yahns.rb') diff --git a/lib/yahns.rb b/lib/yahns.rb index 5e5875a..d48b34d 100644 --- a/lib/yahns.rb +++ b/lib/yahns.rb @@ -30,7 +30,7 @@ module Yahns # :nodoc: # # Yahns::START[0] = "/home/bofh/2.0.0/bin/yahns" START = { - :argv => ARGV.map { |arg| arg.dup }, + :argv => ARGV.map(&:dup), 0 => $0.dup, } -- cgit v1.2.3-24-ge0c7