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.3.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.3.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.3 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.2.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-0.1.3 lib/kuber_kit/core/artifacts/local.rb