Class: Bosh::Cli::ReleaseTarball::TarballArtifact

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/release_tarball.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(info) ⇒ TarballArtifact

Returns a new instance of TarballArtifact.



288
289
290
291
# File 'lib/cli/release_tarball.rb', line 288

def initialize(info)
  @name = info['name']
  @version = info['version']
end

Instance Attribute Details

#name ⇒ Object (readonly)

Returns the value of attribute name.



293
294
295
# File 'lib/cli/release_tarball.rb', line 293

def name
  @name
end

#version ⇒ Object (readonly)

Returns the value of attribute version.



293
294
295
# File 'lib/cli/release_tarball.rb', line 293

def version
  @version
end

Instance Method Details

#new_version? ⇒ Boolean

Returns:

  • (Boolean)


295
296
297
# File 'lib/cli/release_tarball.rb', line 295

def new_version?
  false
end