Sha256: 9c5e26753d9bd533cc49cd8170645948e222d4bb90530bae1254724e37f36654

Contents?: true

Size: 679 Bytes

Versions: 24

Compression:

Stored size: 679 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
        @engine.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

24 entries across 24 versions & 2 rubygems

Version Path
gloo-1.4.2 lib/gloo/verbs/version.rb
gloo-1.4.1 lib/gloo/verbs/version.rb
gloo-1.4.0 lib/gloo/verbs/version.rb
gloo-1.3.3 lib/gloo/verbs/version.rb
gloo-1.3.2 lib/gloo/verbs/version.rb
gloo-1.3.1 lib/gloo/verbs/version.rb
gloo-1.3.0 lib/gloo/verbs/version.rb
gloo-1.2.10 lib/gloo/verbs/version.rb
gloo-1.2.9 lib/gloo/verbs/version.rb
gloo-1.2.8 lib/gloo/verbs/version.rb
gloo-1.2.7 lib/gloo/verbs/version.rb
gloo-1.2.6 lib/gloo/verbs/version.rb
gloo-1.2.5 lib/gloo/verbs/version.rb
gloo-1.2.4 lib/gloo/verbs/version.rb
gloo-1.2.3 lib/gloo/verbs/version.rb
gloo-1.2.2 lib/gloo/verbs/version.rb
gloo-1.2.0 lib/gloo/verbs/version.rb
gloo-1.1.0 lib/gloo/verbs/version.rb
gloo-lang-1.0.2 lib/gloo_lang/verbs/version.rb
gloo-lang-1.0.1 lib/gloo_lang/verbs/version.rb