Sha256: bd5f195cb843548c77c22ae1922fa6f3d73b0a6f011e95f282742cd0c34af0e6

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

require 'thor'
require 'thor/group'
require 'thor/actions'

module Gator
  class Runner < Command
    include Thor::Actions

    def self.start
      Gator::Util.initialize_files
      super
    end

    desc "version", "Show Gator version"
    def version
      version_file = File.dirname(__FILE__) + '/../../VERSION'
      say File.exist?(version_file) ? File.read(version_file) : ""
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gator-0.0.21.pre lib/gator/runner.rb
gator-0.0.20.pre lib/gator/runner.rb