class CmdList
Command list
Constants
- ALIASES
- ARGUMENTS
- DESCRIPTION
- NAME
Public Instance Methods
exec(_)
click to toggle source
# File lib/shell.rb, line 138 def exec(_) @shell.natas.levels.each do |level| l = format( '%<login>s%<level>d: %<password>s', { login: NatasLevelBase::LOGIN, level: level.level, password: level.password } ) if level.level == @shell.natas.level puts @shell.console.red.bold.on_white(l) else puts l end end end