diff options
| author | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2013-04-08 22:13:13 +0300 | 
|---|---|---|
| committer | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2013-04-08 22:52:32 +0300 | 
| commit | a779ea9d57b00bd3b59f5546603271c2d302247c (patch) | |
| tree | aa6e31799b7c3cd17db03652fdb802c322c0dfd9 /actionpack/lib/action_dispatch/journey | |
| parent | e2e9eed3dc6205ec0f9925a8c452067fae9a552d (diff) | |
| download | rails-a779ea9d57b00bd3b59f5546603271c2d302247c.tar.gz rails-a779ea9d57b00bd3b59f5546603271c2d302247c.tar.bz2 rails-a779ea9d57b00bd3b59f5546603271c2d302247c.zip | |
Mark unused variables and make some style fixes
It'd be a nice convention to mark the unused variables like this, now that Ruby 2 will issue no warnings for such vars being unused.
Diffstat (limited to 'actionpack/lib/action_dispatch/journey')
| -rw-r--r-- | actionpack/lib/action_dispatch/journey/formatter.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/actionpack/lib/action_dispatch/journey/formatter.rb b/actionpack/lib/action_dispatch/journey/formatter.rb index 82c55660ea..a732e570f2 100644 --- a/actionpack/lib/action_dispatch/journey/formatter.rb +++ b/actionpack/lib/action_dispatch/journey/formatter.rb @@ -58,7 +58,7 @@ module ActionDispatch              end            end -          parameterized_parts.keep_if { |_, v| v  } +          parameterized_parts.keep_if { |_, v| v }            parameterized_parts          end | 
