diff options
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/command.rb b/railties/lib/rails/commands/command.rb index 16e1fadcd3..c8707be3ab 100644 --- a/railties/lib/rails/commands/command.rb +++ b/railties/lib/rails/commands/command.rb @@ -41,7 +41,7 @@ module Rails @@command_options = {} def parse_options_for(command_name) - @@command_options.fetch(command_name, -> {}).call(@option_parser, @options) + @@command_options.fetch(command_name, proc {}).call(@option_parser, @options) end def build_option_parser |