123456789_123456789_123456789_123456789_123456789_

Class: Rails::Console::ReloadCommand

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, IRB::Command::Base
Instance Chain:
self, IRB::Command::Base
Inherits: IRB::Command::Base
  • ::Object
Defined in: railties/lib/rails/commands/console/irb_console.rb

Instance Method Summary

Instance Method Details

#execute

[ GitHub ]

  
# File 'railties/lib/rails/commands/console/irb_console.rb', line 66

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