1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove _instance suffix from command.

I want to streamline the wording around `command`, and not
start pondering about instances.
This commit is contained in:
Kasper Timm Hansen 2015-12-05 21:47:22 +01:00
parent 7fa8431c69
commit d08033f9b5

View file

@ -16,8 +16,8 @@ module Rails
parse_options_for(command_name) parse_options_for(command_name)
@option_parser.parse! @argv @option_parser.parse! @argv
if command_instance = command_for(command_name) if command = command_for(command_name)
command_instance.public_send(command_name) command.public_send(command_name)
else else
puts @option_parser puts @option_parser
end end