Sha256: d71bbc6e88d18c3e0c74ed1e261337c8d1cc3555fa7bdee9255f4b68bb06164d
Contents?: true
Size: 946 Bytes
Versions: 3
Compression:
Stored size: 946 Bytes
Contents
require File.expand_path("../page_rankr/backlinks", __FILE__) require File.expand_path("../page_rankr/ranks", __FILE__) require File.expand_path("../page_rankr/indexes", __FILE__) module PageRankr class MethodRequired < StandardError; end class DomainInvalid < StandardError; end class << self def backlinks(site, *search_engines) Backlinks.new.lookup(Site.new(site), *search_engines) end alias_method :backlink, :backlinks def backlink_trackers Backlinks.new.backlink_trackers end def ranks(site, *rank_trackers) Ranks.new.lookup(Site.new(site), *rank_trackers) end alias_method :rank, :ranks def rank_trackers Ranks.new.rank_trackers end def indexes(site, *index_trackers) Indexes.new.lookup(Site.new(site), *index_trackers) end alias_method :index, :indexes def index_trackers Indexes.new.index_trackers end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-3.0.2 | lib/page_rankr.rb |
PageRankr-3.0.1 | lib/page_rankr.rb |
PageRankr-3.0.0 | lib/page_rankr.rb |