Class: Spring::Commands::Rake

Inherits:
Object
  • Object
show all
Defined in:
lib/spring/commands.rb

Instance Method Summary collapse

Instance Method Details

#call(args) ⇒ Object



61
62
63
64
# File 'lib/spring/commands.rb', line 61

def call(args)
  ARGV.replace args
  ::Rake.application.run
end

#setupObject



57
58
59
# File 'lib/spring/commands.rb', line 57

def setup
  require "rake"
end