require "mechanize" require "saber/mechanize_ext" require "highline/import" require "reverse_markdown" require "json" module Saber # Usage # # bib = Tracker["bib"] # bib.login # bib.upload("Hello.epub.torrent") # module Tracker autoload :Base, "saber/tracker/base" autoload :What, "saber/tracker/what" autoload :BIB, "saber/tracker/bib" @@trackers = {} mattr_reader :trackers class << self def [](name) trackers[name] end end end end