Class: Rails::Console::ReloadCommand

Inherits:
IRB::Command::Base
  • Object
show all
Defined in:
lib/rails/commands/console/irb_console.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



66
67
68
69
# File 'lib/rails/commands/console/irb_console.rb', line 66

def execute(*)
  puts "Reloading..."
  Rails.application.reloader.reload!
end