Class: Qwandry::Package
- Inherits:
-
Object
- Object
- Qwandry::Package
- Defined in:
- lib/qwandry/package.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
-
#initialize(name, paths, repository) ⇒ Package
constructor
A new instance of Package.
Constructor Details
#initialize(name, paths, repository) ⇒ Package
Returns a new instance of Package.
7 8 9 10 11 |
# File 'lib/qwandry/package.rb', line 7 def initialize(name, paths, repository) @name = name @repository = repository @paths = paths end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/qwandry/package.rb', line 3 def name @name end |
#paths ⇒ Object
Returns the value of attribute paths.
4 5 6 |
# File 'lib/qwandry/package.rb', line 4 def paths @paths end |
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
5 6 7 |
# File 'lib/qwandry/package.rb', line 5 def repository @repository end |