Class: TaskJuggler::TextParser::Macro
- Defined in:
- lib/taskjuggler/TextParser/MacroTable.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#sourceFileInfo ⇒ Object
readonly
Returns the value of attribute sourceFileInfo.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, sourceFileInfo) ⇒ Macro
constructor
A new instance of Macro.
Constructor Details
#initialize(name, value, sourceFileInfo) ⇒ Macro
Returns a new instance of Macro.
20 21 22 23 24 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 20 def initialize(name, value, sourceFileInfo) @name = name @value = value @sourceFileInfo = sourceFileInfo end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 18 def name @name end |
#sourceFileInfo ⇒ Object (readonly)
Returns the value of attribute sourceFileInfo.
18 19 20 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 18 def sourceFileInfo @sourceFileInfo end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
18 19 20 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 18 def value @value end |