Sha256: 598929bf6fc0d71d6dac5375ab5b93d56063c80971b9e28b616ebaa603d02990

Contents?: true

Size: 371 Bytes

Versions: 12

Compression:

Stored size: 371 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

  def sync_description
    "local"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kuber_kit-1.3.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.1 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.0 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.2 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.2.1 lib/kuber_kit/core/artifacts/local.rb