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.
21 22 23 24 25 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 21 def initialize(name, value, sourceFileInfo) @name = name @value = value @sourceFileInfo = sourceFileInfo end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 19 def name @name end |
#sourceFileInfo ⇒ Object (readonly)
Returns the value of attribute sourceFileInfo.
19 20 21 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 19 def sourceFileInfo @sourceFileInfo end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
19 20 21 |
# File 'lib/taskjuggler/TextParser/MacroTable.rb', line 19 def value @value end |