Class: UpmSupport::InstalledPackage

Inherits:
Object
  • Object
show all
Defined in:
lib/upm_support/uplift.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, version, install_specs) ⇒ InstalledPackage

Returns a new instance of InstalledPackage.



46
47
48
49
50
# File 'lib/upm_support/uplift.rb', line 46

def initialize(name, version, install_specs)
  @name = name
  @version = version
  @install_specs = install_specs
end

Instance Attribute Details

#install_specsObject (readonly)

Returns the value of attribute install_specs.



44
45
46
# File 'lib/upm_support/uplift.rb', line 44

def install_specs
  @install_specs
end

#nameObject (readonly)

Returns the value of attribute name.



44
45
46
# File 'lib/upm_support/uplift.rb', line 44

def name
  @name
end

#versionObject (readonly)

Returns the value of attribute version.



44
45
46
# File 'lib/upm_support/uplift.rb', line 44

def version
  @version
end