Class: Celerity::DefaultViewer

Inherits:
Object
  • Object
show all
Defined in:
lib/celerity/default_viewer.rb

Constant Summary collapse

IMAGE =
"#{Celerity::DIR}/resources/no_viewer.png"

Class Method Summary collapse

Class Method Details

.closeObject



11
# File 'lib/celerity/default_viewer.rb', line 11

def close; end

.save(path = nil) ⇒ Object



6
7
8
9
# File 'lib/celerity/default_viewer.rb', line 6

def save(path = nil)
  return unless path
  FileUtils.copy(IMAGE, path)
end