Class: Spring::Commands::Rails
- Inherits:
-
Object
- Object
- Spring::Commands::Rails
- Defined in:
- lib/spring/commands/rails.rb
Direct Known Subclasses
RailsConsole, RailsDestroy, RailsGenerate, RailsRunner, RailsTest
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
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 |
#description ⇒ Object
9 10 11 |
# File 'lib/spring/commands/rails.rb', line 9 def description nil end |