Class: OrgParse::ListitemNode

Inherits:
Node
  • Object
show all
Defined in:
lib/org-parse/node.rb

Overview

リストアイテム

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #kind, #parent, #value

Instance Method Summary collapse

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

#dtObject (readonly)

Returns the value of attribute dt.



226
227
228
# File 'lib/org-parse/node.rb', line 226

def dt
  @dt
end

#typeObject (readonly)

Returns the value of attribute type.



226
227
228
# File 'lib/org-parse/node.rb', line 226

def type
  @type
end