Class: Alf::Doc::ToMarkdown

Inherits:
Object
  • Object
show all
Defined in:
lib/alf/doc/to_markdown.rb

Constant Summary collapse

TEMPLATES =
Path.backfind('doc/templates')

Instance Method Summary collapse

Instance Method Details

#aggregator(op) ⇒ Object



12
13
14
# File 'lib/alf/doc/to_markdown.rb', line 12

def aggregator(op)
  to_markdown(TEMPLATES/"aggregator.wlang", op)
end

#operator(op) ⇒ Object



8
9
10
# File 'lib/alf/doc/to_markdown.rb', line 8

def operator(op)
  to_markdown(TEMPLATES/"operator.wlang", op)
end

#predicate(op) ⇒ Object



16
17
18
# File 'lib/alf/doc/to_markdown.rb', line 16

def predicate(op)
  to_markdown(TEMPLATES/"predicate.wlang", op)
end