Class: Bosh::Cli::ReleaseTarball::TarballArtifact
- Defined in:
- lib/cli/release_tarball.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(info) ⇒ TarballArtifact
constructor
A new instance of TarballArtifact.
- #new_version? ⇒ Boolean
Constructor Details
#initialize(info) ⇒ TarballArtifact
Returns a new instance of TarballArtifact.
398 399 400 401 |
# File 'lib/cli/release_tarball.rb', line 398 def initialize(info) @name = info['name'] @version = info['version'] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
403 404 405 |
# File 'lib/cli/release_tarball.rb', line 403 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
403 404 405 |
# File 'lib/cli/release_tarball.rb', line 403 def version @version end |
Instance Method Details
#new_version? ⇒ Boolean
405 406 407 |
# File 'lib/cli/release_tarball.rb', line 405 def new_version? false end |