class DocImageExtract::Exporter

Public Instance Methods

save(picture) click to toggle source
# File lib/doc_image_extract/exporter.rb, line 3
def save picture
  if picture.file_name
    File.write picture.file_name, picture.data
  end
end