lib/page_rankr.rb in PageRankr-1.3.0 vs lib/page_rankr.rb in PageRankr-1.4.0

- old
+ new

@@ -1,5 +1,6 @@ +require File.join("page_rankr", "tracker") require File.join("page_rankr", "backlinks") require File.join("page_rankr", "ranks") module PageRankr class << self @@ -10,7 +11,15 @@ def ranks(site, *rank_trackers) Ranks.new.lookup site, *rank_trackers end alias_method :rank, :ranks + + def rank_trackers + Ranks.new.rank_trackers + end + + def backlink_trackers + Backlinks.new.backlink_trackers + end end end \ No newline at end of file