Module: Safeconsole::Commands
- Included in:
- Console
- Defined in:
- lib/safeconsole/commands.rb
Instance Method Summary collapse
- #commands ⇒ Object
- #commit ⇒ Object
- #done ⇒ Object
- #nevermind ⇒ Object
- #refresh ⇒ Object
- #stats ⇒ Object
Instance Method Details
#commands ⇒ Object
3 4 5 |
# File 'lib/safeconsole/commands.rb', line 3 def commands (:commands) end |
#commit ⇒ Object
15 16 17 18 |
# File 'lib/safeconsole/commands.rb', line 15 def commit Console.__console_commit = true (:commit) end |
#nevermind ⇒ Object
20 21 22 23 |
# File 'lib/safeconsole/commands.rb', line 20 def nevermind Console.__console_commit = false (:nevermind) end |
#refresh ⇒ Object
7 8 9 |
# File 'lib/safeconsole/commands.rb', line 7 def refresh "safeconsole#refresh" end |
#stats ⇒ Object
25 26 27 |
# File 'lib/safeconsole/commands.rb', line 25 def stats (:session_stats) end |