diff options
author | Alex Weiksnar <aweiksnar@gmail.com> | 2013-09-26 22:04:24 -0500 |
---|---|---|
committer | Alex Weiksnar <aweiksnar@gmail.com> | 2013-09-26 22:04:24 -0500 |
commit | 8e2cc95ab18fb6f65b9d5ee4d2cdcf49b11c2ab7 (patch) | |
tree | 29ec09bd006ee2f200c57811ee3ab5383ee4360e | |
parent | 65bf5e717dc60a045a048dd8af8743d2cc03c6c4 (diff) | |
download | rack-8e2cc95ab18fb6f65b9d5ee4d2cdcf49b11c2ab7.tar.gz |
add parentheses to method definitions with arguments
to keep it uniform with the rest of the repo
-rw-r--r-- | lib/rack/cascade.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/cascade.rb b/lib/rack/cascade.rb index d104a4be..c2891e5f 100644 --- a/lib/rack/cascade.rb +++ b/lib/rack/cascade.rb @@ -38,12 +38,12 @@ module Rack result end - def add app + def add(app) @has_app[app] = true @apps << app end - def include? app + def include?(app) @has_app.include? app end |