Sha256: 3796748d13a17fcf2519d92439a123c37ce9ab5c216e21a69748f45782ad405b
Contents?: true
Size: 672 Bytes
Versions: 6
Compression:
Stored size: 672 Bytes
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved. # # Show the current application version. # module GlooLang module Verbs class Version < GlooLang::Core::Verb KEYWORD = 'version'.freeze KEYWORD_SHORT = 'v'.freeze # # Run the verb. # def run $log.show GlooLang::App::Info.full_version 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
6 entries across 6 versions & 1 rubygems