Class: Rubbr::Builder::Ps
Class Method Summary collapse
Methods included from Cli
#color?, #disable_stderr, #disable_stdinn, #disable_stdout, #error, #executable?, #notice, #valid_executable, #warning
Methods included from OS
Class Method Details
.build ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/rubbr/builder/ps.rb', line 4 def self.build @output_format = 'pdf' base_ps_file = Rubbr.[:base_ps_file] build_dir do dvips = Rubbr::Runner::Ps2Pdf.new(base_ps_file) end distribute_file(base_ps_file) notice "Build of #{@output_format} completed for: #{base_ps_file} " + "in #{Rubbr.[:build_dir]}" end |