Sha256: 864d741df2574f8a941ba4eaab08160f3ee33e7723189b673990a3b2f27cb3eb

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

Version Path
resurrected_god-1.1.1 lib/god/cli/version.rb
resurrected_god-1.1.0 lib/god/cli/version.rb