Sha256: 7b4be2f584469ebafb4b99465f5f1dde30438034e974497c352f761d48205d04
Contents?: true
Size: 757 Bytes
Versions: 29
Compression:
Stored size: 757 Bytes
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved. # # Quit the running gloo engine. # module Gloo module Verbs class Quit < Gloo::Core::Verb KEYWORD = 'quit'.freeze KEYWORD_SHORT = 'q'.freeze # # Run the verb. # # We'll mark the application as not running and let the # engine stop gracefully next time through the loop. # def run @engine.stop_running end # # Get the Verb's keyword. # def self.keyword return KEYWORD end # # Get the Verb's keyword shortcut. # def self.keyword_shortcut return KEYWORD_SHORT end end end end
Version data entries
29 entries across 29 versions & 1 rubygems