class Pandocomatic::UnknownErrorPrinter
Printer
for Errors in non-quiet mode
Public Class Methods
new(error)
click to toggle source
Create a new ErrorPrinter
Calls superclass method
Pandocomatic::Printer::new
# File lib/pandocomatic/printer/unknown_error_printer.rb, line 27 def initialize(error) template = 'unknown_error.txt' super(template) @error = error end
Public Instance Methods
print()
click to toggle source
Print an Error to STDERR rather than STDOUT
# File lib/pandocomatic/printer/unknown_error_printer.rb, line 34 def print Pandocomatic::LOG.error self warn self end