Sha256: fd9f8aeaff4c68b4900ddf7d3b7eacbe1c3118c8521705a077fe50626f4a9d9c
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
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 SupportedComponentsInvalid < 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.1.2 | lib/page_rankr.rb |
PageRankr-3.1.1 | lib/page_rankr.rb |
PageRankr-3.1.0 | lib/page_rankr.rb |