Class: OrgParse::VarNode
Overview
オプション変数
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
#children, #kind, #parent, #value
Instance Method Summary collapse
-
#initialize(name, val) ⇒ VarNode
constructor
A new instance of VarNode.
Methods inherited from Node
#done, #done?, #example?, #html?, #inspect, #is_leaf?, #section_no_array, #set_example, #set_html, #set_src, #set_to_descendant, #set_verse, #src?, #verse?
Constructor Details
#initialize(name, val) ⇒ VarNode
Returns a new instance of VarNode.
333 334 335 336 |
# File 'lib/org-parse/node.rb', line 333 def initialize(name, val) @name = val super(:VARIABLE, [], val) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
331 332 333 |
# File 'lib/org-parse/node.rb', line 331 def name @name end |