Class: TaskJuggler::Scenario

Inherits:
PropertyTreeNode show all
Defined in:
lib/taskjuggler/Scenario.rb

Instance Attribute Summary

Attributes inherited from PropertyTreeNode

#adoptees, #children, #data, #id, #name, #parent, #project, #propertySet, #sequenceNo, #sourceFileInfo, #subId

Instance Method Summary collapse

Methods inherited from PropertyTreeNode

#[], #[]=, #addChild, #adopt, #all, #allLeaves, #ancestors, #attributeDefinition, #backupAttributes, #checkFailsAndWarnings, #container?, #deep_clone, #force, #fullId, #get, #getAdopted, #getAttribute, #getBSIndicies, #getIndicies, #inheritAttributes, #inherited, #isChildOf?, #kids, #leaf?, #level, #levelSeqNo, #logicalId, #method_missing, #modified?, #parents, #provided, #ptn, #query_alert, #query_alertmessages, #query_alertsummaries, #query_alerttrend, #query_children, #query_journal, #query_journalmessages, #query_journalsummaries, #removeReferences, #restoreAttributes, #root, #set, #to_s

Methods included from MessageHandler

#critical, #debug, #error, #fatal, #info, #warning

Constructor Details

#initialize(project, id, name, parent) ⇒ Scenario

Returns a new instance of Scenario.



21
22
23
24
# File 'lib/taskjuggler/Scenario.rb', line 21

def initialize(project, id, name, parent)
  super(project.scenarios, id, name, parent)
  project.addScenario(self)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TaskJuggler::PropertyTreeNode