Class: Spring::Commands::Rails

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

Instance Method Summary collapse

Instance Method Details

#callObject


4
5
6
7
# File 'lib/spring/commands/rails.rb', line 4

def call
  ARGV.unshift command_name
  load Dir.glob(::Rails.root.join("{bin,script}/rails")).first
end

#descriptionObject


9
10
11
# File 'lib/spring/commands/rails.rb', line 9

def description
  nil
end