Class: Rails::Console::Reloader

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

Instance Method Summary collapse

Methods included from Rails::ConsoleMethods

include, method_added, raise_deprecation_warning

Instance Method Details

#executeObject



60
61
62
63
# File 'lib/rails/commands/console/irb_console.rb', line 60

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