Sha256: 3dde34c2e02a6825b53256864c02c9ed27b8d5b51767f7e549f61685c358bda9
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
class Terraspace::Cloud::Ci class Vcs extend Memoist def initialize(vars) @vars = vars end def merged_vars vcs_class = case @vars[:host] when /github/ then Github when /gitlab/ then Gitlab when /bitbucket/ then Bitbucket end vcs_class ? vcs_class.new(@vars).merged_vars : {} end end end
Version data entries
4 entries across 4 versions & 1 rubygems