Class: Brevity::NoteNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Brevity::NoteNode
show all
- Defined in:
- lib/brevity/parsing/note/note_nodes.rb
Instance Method Summary
collapse
Instance Method Details
#itemize(env) ⇒ Object
22
23
24
|
# File 'lib/brevity/parsing/note/note_nodes.rb', line 22
def itemize(env)
Itemization.new(notes: [self.to_note])
end
|
#primitives(env) ⇒ Object
26
27
28
|
# File 'lib/brevity/parsing/note/note_nodes.rb', line 26
def primitives env
[ self.to_note ]
end
|