about summary refs log tree commit homepage
path: root/lib/yahns.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-03-15 06:50:58 +0000
committerEric Wong <e@80x24.org>2014-03-15 06:50:58 +0000
commit7dd232ed54a24bb53ddc9fa97b7860bf656b779d (patch)
treee5d4c5bdce5b3577b539c6ed672d1e081817a4bd /lib/yahns.rb
parentade89b5142bedbcf07f38aa062bfdbfcb8bc48d3 (diff)
downloadyahns-7dd232ed54a24bb53ddc9fa97b7860bf656b779d.tar.gz
We favor foo(&:bar) when possible for conciseness.
Diffstat (limited to 'lib/yahns.rb')
-rw-r--r--lib/yahns.rb2
1 files changed, 1 insertions, 1 deletions
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,
   }