Class: God::CLI::Version
- Inherits:
-
Object
- Object
- God::CLI::Version
- Defined in:
- lib/god/cli/version.rb
Class Method Summary collapse
Class Method Details
.version ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/god/cli/version.rb', line 5 def self.version require 'god' # print version puts "Version #{God::VERSION}" exit end |
.version_extended ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/god/cli/version.rb', line 13 def self.version_extended puts "Version: #{God::VERSION}" puts "Polls: enabled" puts "Events: " + God::EventHandler.event_system exit end |