Module: Hanami::Commands::Console::CodeReloading Private
- Defined in:
- lib/hanami/commands/console.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Implements console code reloading
Instance Method Summary collapse
- #reload! ⇒ Object private
Instance Method Details
#reload! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 24 |
# File 'lib/hanami/commands/console.rb', line 21 def reload! puts 'Reloading...' Kernel.exec "#{$PROGRAM_NAME} console" end |