Class: Spring::Commands::RailsConsole
- Defined in:
- lib/spring/commands/rails.rb
Instance Method Summary collapse
Methods inherited from Rails
Instance Method Details
#command_name ⇒ Object
20 21 22 |
# File 'lib/spring/commands/rails.rb', line 20 def command_name "console" end |
#env(args) ⇒ Object
16 17 18 |
# File 'lib/spring/commands/rails.rb', line 16 def env(args) args.first if args.first && !args.first.index("-") end |