Class: Rubbr::Viewer::Pdf
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Pdf
constructor
A new instance of Pdf.
Methods inherited from Base
#distribution_file, #find_viewer, #launch
Methods included from Cli
#color?, #disable_stderr, #disable_stdinn, #disable_stdout, #error, #executable?, #notice, #valid_executable, #warning
Constructor Details
#initialize(*args) ⇒ Pdf
Returns a new instance of Pdf.
4 5 6 7 8 |
# File 'lib/rubbr/viewer/pdf.rb', line 4 def initialize(*args) super @view_name = 'pdf' @executables = %w(evince acroread xpdf gv) end |