Class: Vivlio::Starter::CLI::PdfCommands::PdfCommandRunner
- Inherits:
-
Object
- Object
- Vivlio::Starter::CLI::PdfCommands::PdfCommandRunner
- Defined in:
- lib/vivlio/starter/cli/pdf.rb
Overview
npx vivliostyle build をラップして PDF を生成する
Direct Known Subclasses
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options, target_output) ⇒ PdfCommandRunner
constructor
A new instance of PdfCommandRunner.
Constructor Details
#initialize(options, target_output) ⇒ PdfCommandRunner
Returns a new instance of PdfCommandRunner.
68 69 70 71 72 73 |
# File 'lib/vivlio/starter/cli/pdf.rb', line 68 def initialize(, target_output) @options = || {} @target_output = target_output @config = Common::CONFIG['pdf'] || {} @build_success = false end |
Instance Method Details
#call ⇒ Object
75 76 77 78 79 80 |
# File 'lib/vivlio/starter/cli/pdf.rb', line 75 def call apply_verbose Common.log_action('PDFを生成しています…') execute_build handle_build_result end |