Module: Prawn::Print
- Includes:
- JS
- Defined in:
- lib/prawn-print.rb,
lib/prawn-print/js.rb,
lib/prawn-print/version.rb
Defined Under Namespace
Modules: JS
Constant Summary
collapse
- VERSION =
"0.0.3"
Constants included
from JS
JS::NAME_TREE_CHILDREN_LIMIT
Instance Method Summary
collapse
Methods included from JS
#add_docopen_js
Instance Method Details
#autoprint(printer = nil) ⇒ Object
13
14
15
|
# File 'lib/prawn-print.rb', line 13
def autoprint(printer=nil)
print_with_auto_to_printer(true, printer)
end
|
#print ⇒ Object
9
10
11
|
# File 'lib/prawn-print.rb', line 9
def print
print_with_auto_to_printer(false, nil)
end
|