Class: LucidTDL::AST::Step
Instance Attribute Summary collapse
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name, keyword) ⇒ Step
constructor
A new instance of Step.
Methods inherited from Node
Constructor Details
#initialize(name, keyword) ⇒ Step
Returns a new instance of Step.
87 88 89 90 |
# File 'lib/lucid-tdl/ast.rb', line 87 def initialize(name, keyword) @name = name.to_s @keyword = keyword.to_s end |
Instance Attribute Details
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
85 86 87 |
# File 'lib/lucid-tdl/ast.rb', line 85 def keyword @keyword end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
84 85 86 |
# File 'lib/lucid-tdl/ast.rb', line 84 def name @name end |