Class: Marker::Definition

Inherits:
ListNode show all
Defined in:
lib/marker/lists.rb

Instance Method Summary collapse

Methods inherited from ListNode

#builder

Methods inherited from Treetop::Runtime::SyntaxNode

#present?

Instance Method Details

#contentObject



208
209
210
# File 'lib/marker/lists.rb', line 208

def content
  [term, definition]
end

#definitionObject

– defaults ++



213
214
215
# File 'lib/marker/lists.rb', line 213

def definition
  nil
end

#typeObject



204
205
206
# File 'lib/marker/lists.rb', line 204

def type
  :definition
end