Sha256: 83e87fa68580ba840e08453b25b6ab526324bcf1e09f9f8f5892d048d37cdc69

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

require File.join("page_rankr", "tracker")
require File.join("page_rankr", "backlinks")
require File.join("page_rankr", "ranks")

module PageRankr
  class << self
    def backlinks(site, *search_engines)
      Backlinks.new.lookup site, *search_engines
    end
    alias_method :backlink, :backlinks

    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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
PageRankr-1.4.3 lib/page_rankr.rb
PageRankr-1.4.2 lib/page_rankr.rb
PageRankr-1.4.0 lib/page_rankr.rb