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-0.5.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.3 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.4.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.11 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.10 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.3 lib/kuber_kit/core/artifacts/local.rb