Class: OrgParse::ListitemNode
Overview
リストアイテム
Instance Attribute Summary collapse
-
#dt ⇒ Object
readonly
Returns the value of attribute dt.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Node
#children, #kind, #parent, #value
Instance Method Summary collapse
-
#initialize(type, children, value, dt) ⇒ ListitemNode
constructor
A new instance of ListitemNode.
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(type, children, value, dt) ⇒ ListitemNode
Returns a new instance of ListitemNode.
228 229 230 231 232 |
# File 'lib/org-parse/node.rb', line 228 def initialize(type, children, value, dt) @type = type @dt = dt super(:LIST_ITEM, children, value) end |
Instance Attribute Details
#dt ⇒ Object (readonly)
Returns the value of attribute dt.
226 227 228 |
# File 'lib/org-parse/node.rb', line 226 def dt @dt end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
226 227 228 |
# File 'lib/org-parse/node.rb', line 226 def type @type end |