Method: Device::Kindle#restore_bookmark
- Defined in:
- lib/device/kindle.rb
#restore_bookmark ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/device/kindle.rb', line 30 def restore_bookmark documents_path = get_documents_path raise Device::DontConneting unless documents_path paths = Dir.glob(File.join(get_storage_path, "*.sdr/*")) Helper.copy_files(paths, documents_path) paths.size end |