module CapistranoSentinel
Returns the version of the gem as a Gem::Version
Public Class Methods
config()
click to toggle source
# File lib/capistrano_sentinel.rb, line 9 def self.config @config ||= CapistranoSentinel::Configuration.new end
configure() { |config| ... }
click to toggle source
# File lib/capistrano_sentinel.rb, line 5 def self.configure yield config end
gem_version()
click to toggle source
it prints the gem version as a string
@return [String]
@api public
# File lib/capistrano_sentinel/version.rb, line 8 def self.gem_version Gem::Version.new VERSION::STRING end