From 81dcac1034c4b3f0338bf42fa777a2806170530b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Mar 2015 01:30:58 +0000 Subject: avoid unnecessary calls #to_sym for __send__ No point in bloating our bytecode for single-use variables. --- lib/yahns/rackup_handler.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/yahns/rackup_handler.rb b/lib/yahns/rackup_handler.rb index 127db48..3d7beab 100644 --- a/lib/yahns/rackup_handler.rb +++ b/lib/yahns/rackup_handler.rb @@ -32,7 +32,6 @@ module Yahns::RackupHandler # :nodoc: end %w(stderr_path stdout_path).each do |x| - x = x.to_sym val = o[x] and __send__(x, val) end end -- cgit v1.2.3-24-ge0c7