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

#pd(*data, &blk) ⇒ Object



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

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

#pde(e, *data) ⇒ Object



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

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

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



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

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

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



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

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