Class: Kibou::Dependency

Inherits:
Object
  • Object
show all
Defined in:
lib/kibou/dependency.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dependencyObject (readonly)

Returns the value of attribute dependency.



4
5
6
# File 'lib/kibou/dependency.rb', line 4

def dependency
  @dependency
end

#packageObject (readonly)

Returns the value of attribute package.



4
5
6
# File 'lib/kibou/dependency.rb', line 4

def package
  @package
end