Class: Purple::PackageInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/purple.rb,
lib/purple/osx.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePackageInfo

Returns a new instance of PackageInfo.



163
164
165
# File 'lib/purple.rb', line 163

def initialize
    @files = []
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



166
167
168
# File 'lib/purple.rb', line 166

def description
  @description
end

#filesObject (readonly)

Returns the value of attribute files.



167
168
169
# File 'lib/purple.rb', line 167

def files
  @files
end

#identifierObject

Returns the value of attribute identifier.



166
167
168
# File 'lib/purple.rb', line 166

def identifier
  @identifier
end

#long_nameObject

Returns the value of attribute long_name.



166
167
168
# File 'lib/purple.rb', line 166

def long_name
  @long_name
end

#majorObject

Returns the value of attribute major.



166
167
168
# File 'lib/purple.rb', line 166

def major
  @major
end

#minorObject

Returns the value of attribute minor.



166
167
168
# File 'lib/purple.rb', line 166

def minor
  @minor
end

#nameObject

Returns the value of attribute name.



166
167
168
# File 'lib/purple.rb', line 166

def name
  @name
end

#versionObject

Returns the value of attribute version.



166
167
168
# File 'lib/purple.rb', line 166

def version
  @version
end

Instance Method Details

#info_stringObject



71
# File 'lib/purple/osx.rb', line 71

def info_string; long_name; end