class PBM::Commands::Exit
Public Class Methods
new(interpreter)
click to toggle source
# File lib/pbm/commands/exit.rb, line 4 def initialize(interpreter) @interpreter = interpreter end
Public Instance Methods
description()
click to toggle source
# File lib/pbm/commands/exit.rb, line 8 def description 'exit - closes this application' end
run()
click to toggle source
# File lib/pbm/commands/exit.rb, line 12 def run @interpreter.running = false 'Closing.' end