module KindleCG

Constants

VERSION

Attributes

device_mountpoint[W]
os_mountpoint[W]

Public Class Methods

device_mountpoint() click to toggle source
# File lib/KindleCG.rb, line 12
def device_mountpoint
  @device_mountpoint ||= Pathname.new '/mnt/us'
end
documents_path() click to toggle source
# File lib/KindleCG.rb, line 24
def documents_path
  device_mountpoint.join('documents').to_path
end
os_collections_path() click to toggle source
# File lib/KindleCG.rb, line 32
def os_collections_path
  os_mountpoint.join('system/collections.json').to_path
end
os_documents_path() click to toggle source
# File lib/KindleCG.rb, line 28
def os_documents_path
  os_mountpoint.join('documents').to_path
end
os_mountpoint() click to toggle source
# File lib/KindleCG.rb, line 16
def os_mountpoint
  @os_mountpoint ||= Pathname.new '/Volumes/Kindle'
end
system_path() click to toggle source
# File lib/KindleCG.rb, line 20
def system_path
  device_mountpoint.join('system').to_path
end