Module: Press

Defined in:
lib/press.rb,
lib/press/printer.rb

Defined Under Namespace

Modules: Printer Classes: Logger

Instance Method Summary collapse

Instance Method Details

#ctx(data) ⇒ Object



5
6
7
# File 'lib/press.rb', line 5

def ctx(data)
  Printer.ctx = data
end

#mctx(tag, data) ⇒ Object



13
14
15
16
# File 'lib/press.rb', line 13

def mctx(tag, data)
  mtx tag
  ctx data
end

#mpd(*data, &blk) ⇒ Object



22
23
24
# File 'lib/press.rb', line 22

def mpd(*data, &blk)
  Printer.mpd *data, &blk
end

#mpde(e, *data) ⇒ Object



38
39
40
# File 'lib/press.rb', line 38

def mpde(e, *data)
  Printer.mpde e, *data
end

#mpdfm(file, m, *data, &blk) ⇒ Object



30
31
32
# File 'lib/press.rb', line 30

def mpdfm(file, m, *data, &blk)
  Printer.mpdfm file, m, *data, &blk
end

#mpdfme(file, m, e, *data) ⇒ Object



46
47
48
# File 'lib/press.rb', line 46

def mpdfme(file, m, e, *data)
  Printer.mpdfme file, m, e, *data
end

#mtx(tag) ⇒ Object



9
10
11
# File 'lib/press.rb', line 9

def mtx(tag)
  Printer.mtx = tag
end

#pd(*data, &blk) ⇒ Object



18
19
20
# File 'lib/press.rb', line 18

def pd(*data, &blk)
  Printer.pd *data, &blk
end

#pde(e, *data) ⇒ Object



34
35
36
# File 'lib/press.rb', line 34

def pde(e, *data)
  Printer.pde e, *data
end

#pdfm(file, m, *data, &blk) ⇒ Object



26
27
28
# File 'lib/press.rb', line 26

def pdfm(file, m, *data, &blk)
  Printer.pdfm file, m, *data, &blk
end

#pdfme(file, m, e, *data) ⇒ Object



42
43
44
# File 'lib/press.rb', line 42

def pdfme(file, m, e, *data)
  Printer.pdfme file, m, e, *data
end