Class: Spring::Commands::Runner
Instance Method Summary
collapse
Methods inherited from Command
preloads, #preloads, preloads=, #setup
Instance Method Details
#call(args) ⇒ Object
190
191
192
193
194
|
# File 'lib/spring/commands.rb', line 190
def call(args)
Object.const_set(:APP_PATH, Rails.root.join('config/application'))
ARGV.replace args
require "rails/commands/runner"
end
|
#description ⇒ Object
196
197
198
|
# File 'lib/spring/commands.rb', line 196
def description
"Execute a command with the Rails runner."
end
|