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.



297
298
299
300
# File 'lib/cli/release_tarball.rb', line 297

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



302
303
304
# File 'lib/cli/release_tarball.rb', line 302

def name
  @name
end

#versionObject (readonly)

Returns the value of attribute version.



302
303
304
# File 'lib/cli/release_tarball.rb', line 302

def version
  @version
end

Instance Method Details

#new_version?Boolean

Returns:

  • (Boolean)


304
305
306
# File 'lib/cli/release_tarball.rb', line 304

def new_version?
  false
end