method
parse_command
v4.1.8 -
Show latest stable
- Class:
Rails::CommandsTasks
parse_command(command)private
No documentation available.
# File railties/lib/rails/commands/commands_tasks.rb, line 163
def parse_command(command)
case command
when '--version', '-v'
'version'
when '--help', '-h'
'help'
else
command
end
end