Sha256: 43de4572583a93038d0658a6c880c859e8e5211e27d26a3f3351f7518ab24913

Contents?: true

Size: 661 Bytes

Versions: 9

Compression:

Stored size: 661 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 Gloo
  module Verbs
    class Version < Gloo::Core::Verb

      KEYWORD = 'version'.freeze
      KEYWORD_SHORT = 'v'.freeze

      #
      # Run the verb.
      #
      def run
        $log.show Gloo::App::Info.display_title
      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

9 entries across 9 versions & 1 rubygems

Version Path
gloo-0.8.0 lib/gloo/verbs/version.rb
gloo-0.7.7 lib/gloo/verbs/version.rb
gloo-0.7.6 lib/gloo/verbs/version.rb
gloo-0.7.5 lib/gloo/verbs/version.rb
gloo-0.7.4 lib/gloo/verbs/version.rb
gloo-0.7.3 lib/gloo/verbs/version.rb
gloo-0.7.2 lib/gloo/verbs/version.rb
gloo-0.7.1 lib/gloo/verbs/version.rb
gloo-0.7.0 lib/gloo/verbs/version.rb