Class: Purple::PackageInfo
- Inherits:
-
Object
- Object
- Purple::PackageInfo
- Defined in:
- lib/purple.rb,
lib/purple/osx.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#files ⇒ Object
readonly
Returns the value of attribute files.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#long_name ⇒ Object
Returns the value of attribute long_name.
-
#major ⇒ Object
Returns the value of attribute major.
-
#minor ⇒ Object
Returns the value of attribute minor.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #info_string ⇒ Object
-
#initialize ⇒ PackageInfo
constructor
A new instance of PackageInfo.
Constructor Details
#initialize ⇒ PackageInfo
Returns a new instance of PackageInfo.
163 164 165 |
# File 'lib/purple.rb', line 163 def initialize @files = [] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
166 167 168 |
# File 'lib/purple.rb', line 166 def description @description end |
#files ⇒ Object (readonly)
Returns the value of attribute files.
167 168 169 |
# File 'lib/purple.rb', line 167 def files @files end |
#identifier ⇒ Object
Returns the value of attribute identifier.
166 167 168 |
# File 'lib/purple.rb', line 166 def identifier @identifier end |
#long_name ⇒ Object
Returns the value of attribute long_name.
166 167 168 |
# File 'lib/purple.rb', line 166 def long_name @long_name end |
#major ⇒ Object
Returns the value of attribute major.
166 167 168 |
# File 'lib/purple.rb', line 166 def major @major end |
#minor ⇒ Object
Returns the value of attribute minor.
166 167 168 |
# File 'lib/purple.rb', line 166 def minor @minor end |
#name ⇒ Object
Returns the value of attribute name.
166 167 168 |
# File 'lib/purple.rb', line 166 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
166 167 168 |
# File 'lib/purple.rb', line 166 def version @version end |
Instance Method Details
#info_string ⇒ Object
71 |
# File 'lib/purple/osx.rb', line 71 def info_string; long_name; end |