Class: Kibou::Dependency
- Inherits:
-
Object
- Object
- Kibou::Dependency
- Defined in:
- lib/kibou/dependency.rb
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
-
#package ⇒ Object
readonly
Returns the value of attribute package.
Instance Method Summary collapse
-
#initialize(name, dep) ⇒ Dependency
constructor
A new instance of Dependency.
Constructor Details
#initialize(name, dep) ⇒ Dependency
Returns a new instance of Dependency.
6 7 8 9 |
# File 'lib/kibou/dependency.rb', line 6 def initialize(name, dep) @package = name @dependency = dep end |
Instance Attribute Details
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency.
4 5 6 |
# File 'lib/kibou/dependency.rb', line 4 def dependency @dependency end |
#package ⇒ Object (readonly)
Returns the value of attribute package.
4 5 6 |
# File 'lib/kibou/dependency.rb', line 4 def package @package end |