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
6 7 8 9 10 11 12 |
# File 'lib/god/cli/version.rb', line 6 def self.version require 'god' # print version puts "Version #{God.version}" exit end |
.version_extended ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/god/cli/version.rb', line 14 def self.version_extended puts "Version: #{God.version}" puts 'Polls: enabled' puts "Events: #{God::EventHandler.event_system}" exit end |