Module: Bkmrq::Parsers

Defined in:
lib/bkmrq/parsers/parsers.rb

Overview

Parse Raw Browser Bookmarks

Class Method Summary collapse

Class Method Details

.run(rawdata, opts) ⇒ Object



15
16
17
18
19
20
# File 'lib/bkmrq/parsers/parsers.rb', line 15

def self.run(rawdata, opts)
  Object
    .const_get("Parsers::#{opts[:browser].capitalize}")
    .new(rawdata)
    .run
end