3 4 5 6 7
# File 'lib/booky/pdf.rb', line 3 def self.create(ast) puts "\n-> Creating PDF".green Booky::Layout.compile(ast, setup_layout) end
9 10 11
# File 'lib/booky/pdf.rb', line 9 def self.open `open #{Booky.name}.pdf` end