class Loga::ServiceVersionStrategies
Constants
- DEFAULT
- REVISION_FILE
- SCM_GIT
Redirect stderror to /dev/null when git binary or git directory not available
- STRATEGIES
Public Class Methods
call()
click to toggle source
# File lib/loga/service_version_strategies.rb, line 11 def self.call new.call end
Public Instance Methods
call()
click to toggle source
# File lib/loga/service_version_strategies.rb, line 15 def call STRATEGIES.map(&:call).find(&:presence).strip end