Sha256: 8477cbfbb45e8645f7dc9bdb7b73a61663e885aa31508e948924e934e28cc24a

Contents?: true

Size: 329 Bytes

Versions: 83

Compression:

Stored size: 329 Bytes

Contents

class KuberKit::Core::Artifacts::Local < KuberKit::Core::Artifacts::AbstractArtifact
  def setup(root_path)
    @root_path = File.expand_path(root_path)
    self
  end

  def root_path
    @root_path || (raise ArgumentError.new("root path was not set. Set it using setup method"))
  end

  def cloned_path
    root_path
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
kuber_kit-1.2.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.0.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.0.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.3 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.9.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.8.3 lib/kuber_kit/core/artifacts/local.rb