Class: DependencyGraph
- Inherits:
-
Object
- Object
- DependencyGraph
- Defined in:
- lib/DependencyGraph.rb
Instance Method Summary collapse
- #create! ⇒ Object
-
#initialize(context_name, roles, interactions, dependencies) ⇒ DependencyGraph
constructor
A new instance of DependencyGraph.
Constructor Details
#initialize(context_name, roles, interactions, dependencies) ⇒ DependencyGraph
Returns a new instance of DependencyGraph.
2 3 4 5 6 |
# File 'lib/DependencyGraph.rb', line 2 def initialize(context_name,roles,interactions,dependencies) @context_name = context_name @roles = roles @interactions = interactions @dependencies = dependencies end |
Instance Method Details
#create! ⇒ Object
7 8 9 10 |
# File 'lib/DependencyGraph.rb', line 7 def create!() self_roles_dependencies self_interactions_dependencies dependencies end |