aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/benchmarker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/benchmarker.rb')
-rw-r--r--railties/lib/rails/commands/benchmarker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/benchmarker.rb b/railties/lib/rails/commands/benchmarker.rb
index ecdcccfd8d..e10ec8fd38 100644
--- a/railties/lib/rails/commands/benchmarker.rb
+++ b/railties/lib/rails/commands/benchmarker.rb
@@ -1,6 +1,6 @@
require 'active_support/core_ext/object/inclusion'
-if ARGV.first.either?(nil, "-h", "--help")
+if ARGV.first.among?(nil, "-h", "--help")
puts "Usage: rails benchmarker [times] 'Person.expensive_way' 'Person.another_expensive_way' ..."
exit 1
end