Class: EasyRepl::Commands::Exit
- Inherits:
-
Object
- Object
- EasyRepl::Commands::Exit
- Extended by:
- Matchable
- Defined in:
- lib/easy_repl/commands/exit.rb
Class Method Summary collapse
Methods included from Matchable
Class Method Details
.cmd_txt ⇒ Object
6 7 8 |
# File 'lib/easy_repl/commands/exit.rb', line 6 def self.cmd_txt "exit" end |
.run(input) ⇒ Object
10 11 12 |
# File 'lib/easy_repl/commands/exit.rb', line 10 def self.run(input) throw :exit_inner_loop, :exit end |