lib/page_rankr.rb in PageRankr-1.6.0 vs lib/page_rankr.rb in PageRankr-1.7.0

- old
+ new

@@ -1,8 +1,9 @@ require File.join(File.dirname(__FILE__), "page_rankr", "tracker") require File.join(File.dirname(__FILE__), "page_rankr", "backlinks") require File.join(File.dirname(__FILE__), "page_rankr", "ranks") +require File.join(File.dirname(__FILE__), "page_rankr", "indexes") module PageRankr class << self def backlinks(site, *search_engines) Backlinks.new.lookup site, *search_engines @@ -12,14 +13,23 @@ def ranks(site, *rank_trackers) Ranks.new.lookup site, *rank_trackers end alias_method :rank, :ranks + def indexes(site, *index_trackers) + Indexes.new.lookup site, *index_trackers + end + alias_method :index, :indexes + def rank_trackers Ranks.new.rank_trackers end def backlink_trackers Backlinks.new.backlink_trackers + end + + def index_trackers + Indexes.new.index_trackers end end end \ No newline at end of file