aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/backtrace_cleaner.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-12-06 13:24:42 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2015-12-06 13:24:42 +0100
commitf8d2a14e251b9985db11475a0cf8b1350efbf8f1 (patch)
treeb14dc725560e7af27ffeee227f1de84fc59b1f68 /railties/lib/rails/backtrace_cleaner.rb
parent65443ceb0d55e1445b28e31e772629424e6755c3 (diff)
downloadrails-f8d2a14e251b9985db11475a0cf8b1350efbf8f1.tar.gz
rails-f8d2a14e251b9985db11475a0cf8b1350efbf8f1.tar.bz2
rails-f8d2a14e251b9985db11475a0cf8b1350efbf8f1.zip
Add class level `run` to Rails command.
The class level version is responsible for changing a task name to command name, then finding a command and run it if there is one. The instance level `run` then makes sure arguments have been parsed into `@options` and runs the command by sending it. `Rails::Commands::Command.run` returns true to make it work within `Rails::CommandsTask`, but won't in the future when it handles all option parsing.
Diffstat (limited to 'railties/lib/rails/backtrace_cleaner.rb')
0 files changed, 0 insertions, 0 deletions