Sha256: 484126a0c59f219343d006c5ac48a1b59d750fe9e43017d5bb6f997e4b0f1c1a

Contents?: true

Size: 397 Bytes

Versions: 27

Compression:

Stored size: 397 Bytes

Contents

module God
  module CLI
    
    class Version
      def self.version
        require 'god'
    
        # print version
        puts "Version #{God.version}"
        exit
      end
      
      def self.version_extended
        puts "Version: #{God.version}"
        puts "Polls: enabled"
        puts "Events: " + God::EventHandler.event_system
    
        exit
      end
    end
    
  end
end

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
god-0.7.20 lib/god/cli/version.rb
god-0.7.19 lib/god/cli/version.rb
god-0.7.18 lib/god/cli/version.rb
god-0.7.17 lib/god/cli/version.rb
god-0.7.16 lib/god/cli/version.rb
god-0.7.15 lib/god/cli/version.rb
god-0.7.14 lib/god/cli/version.rb