Class: OrgParse::WhitelineNode

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

Overview

Whiteline

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

#initializeWhitelineNode

Returns a new instance of WhitelineNode.



201
202
203
204
# File 'lib/org-parse/node.rb', line 201

def initialize
  super(:WHITELINE)
  @value = 1
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



200
201
202
# File 'lib/org-parse/node.rb', line 200

def count
  @count
end

Instance Method Details

#incrementObject



205
206
207
# File 'lib/org-parse/node.rb', line 205

def increment
  @value += 1
end