Class: WickedPdf::Command::BatchJob
- Inherits:
-
Struct
- Object
- Struct
- WickedPdf::Command::BatchJob
- Defined in:
- lib/wicked_pdf/command.rb
Overview
A batch job with its argv compiled up front (thread-safe to run).
Instance Attribute Summary collapse
-
#argv ⇒ Object
Returns the value of attribute argv.
-
#job ⇒ Object
Returns the value of attribute job.
Instance Method Summary collapse
Instance Attribute Details
#argv ⇒ Object
Returns the value of attribute argv
67 68 69 |
# File 'lib/wicked_pdf/command.rb', line 67 def argv @argv end |
#job ⇒ Object
Returns the value of attribute job
67 68 69 |
# File 'lib/wicked_pdf/command.rb', line 67 def job @job end |
Instance Method Details
#line ⇒ Object
72 73 74 |
# File 'lib/wicked_pdf/command.rb', line 72 def line @line ||= argv.join(' ') end |
#output_path ⇒ Object
68 69 70 |
# File 'lib/wicked_pdf/command.rb', line 68 def output_path job[:output_path] end |