class SycLink::Chrome

Importer for Google Chrome links

Importer for Google Chrome links

Public Instance Methods

read() click to toggle source

Reads the content of the Google Chrome bookmarks file

# File lib/syclink/chrome.rb, line 10
def read
  serialized = File.read(path)
  extract_links(JSON.parse(serialized)).flatten.each_slice(4).to_a
end