Parent

Class Index [+]

Quicksearch

TaskJuggler::ScenarioData

Attributes

property[R]

Public Class Methods

new(property, idx, attributes) click to toggle source
    # File lib/ScenarioData.rb, line 23
23:     def initialize(property, idx, attributes)
24:       @property = property
25:       @project = property.project
26:       @scenarioIdx = idx
27:       @attributes = attributes
28:     end

Public Instance Methods

a(attributeName) click to toggle source
    # File lib/ScenarioData.rb, line 30
30:     def a(attributeName)
31:       @attributes[attributeName].value
32:     end
error(id, text, sourceFileInfo = nil, property = nil) click to toggle source
    # File lib/ScenarioData.rb, line 34
34:     def error(id, text, sourceFileInfo = nil, property = nil)
35:       @project.messageHandler.error(
36:         id, text, sourceFileInfo || @property.sourceFileInfo, nil,
37:         property || @property,
38:         @project.scenario(@scenarioIdx))
39:     end
info(id, text, sourceFileInfo = nil, property = nil) click to toggle source
    # File lib/ScenarioData.rb, line 48
48:     def info(id, text, sourceFileInfo = nil, property = nil)
49:       @project.messageHandler.info(
50:         id, text, sourceFileInfo || @property.sourceFileInfo, nil,
51:         property || @property,
52:         @project.scenario(@scenarioIdx))
53:     end
warning(id, text, sourceFileInfo = nil, property = nil) click to toggle source
    # File lib/ScenarioData.rb, line 41
41:     def warning(id, text, sourceFileInfo = nil, property = nil)
42:       @project.messageHandler.warning(
43:         id, text, sourceFileInfo || @property.sourceFileInfo, nil,
44:         property || @property,
45:         @project.scenario(@scenarioIdx))
46:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.