Class: Jekyll::PseudoCodeB::Brush

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll-pseudocode-b/brush.rb

Direct Known Subclasses

HtmlBrush, MockBrush

Instance Method Summary collapse

Instance Method Details

#comment(txt) ⇒ Object

format a comment



30
31
32
# File 'lib/jekyll-pseudocode-b/brush.rb', line 30

def comment(txt)
  raise 'not implemented'
end

#fn(txt) ⇒ Object

format a function



10
11
12
# File 'lib/jekyll-pseudocode-b/brush.rb', line 10

def fn(txt)
  raise 'not implemented'
end

#math(txt) ⇒ Object

render math symbols



50
51
52
# File 'lib/jekyll-pseudocode-b/brush.rb', line 50

def math(txt)
  raise 'not implemented'
end

#number(txt) ⇒ Object



54
55
56
# File 'lib/jekyll-pseudocode-b/brush.rb', line 54

def number(txt)
  raise 'not implemented'
end

#objfn(txt) ⇒ Object

format a object call function



15
16
17
# File 'lib/jekyll-pseudocode-b/brush.rb', line 15

def objfn(txt)
  raise 'not implemented'
end

#op(txt) ⇒ Object

format an operator



35
36
37
# File 'lib/jekyll-pseudocode-b/brush.rb', line 35

def op(txt)
  raise 'not implemented'
end

#plain(txt) ⇒ Object

render plain text



45
46
47
# File 'lib/jekyll-pseudocode-b/brush.rb', line 45

def plain(txt)
  raise 'not implemented'
end

#special(txt, sub) ⇒ Object

format a special variable



25
26
27
# File 'lib/jekyll-pseudocode-b/brush.rb', line 25

def special(txt, sub)
  raise 'not implemented'
end

#string(txt) ⇒ Object

format a string



40
41
42
# File 'lib/jekyll-pseudocode-b/brush.rb', line 40

def string(txt)
  raise 'not implemented'
end

#sym(txt) ⇒ Object

format a symbol



5
6
7
# File 'lib/jekyll-pseudocode-b/brush.rb', line 5

def sym(txt)
  raise 'not implemented'
end

#var(txt, sub) ⇒ Object

format a variable



20
21
22
# File 'lib/jekyll-pseudocode-b/brush.rb', line 20

def var(txt, sub)
  raise 'not implemented'
end