Sha256: 880492d027c11711fcb89d35126c1fb4b37b8eb371de1c1b6261e7dc34d94896

Contents?: true

Size: 303 Bytes

Versions: 15

Compression:

Stored size: 303 Bytes

Contents

require File.expand_path('../tracker', __FILE__)

module PageRankr
  module Backlink
    include Tracker

    alias_method :backlink, :tracked

    def clean(raw)
      cleaned_content = super(raw)
      return nil if cleaned_content.nil? || cleaned_content.zero?
      cleaned_content
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/backlink.rb
PageRankr-4.6.0 lib/page_rankr/backlink.rb
PageRankr-4.4.1 lib/page_rankr/backlink.rb
PageRankr-4.4.0 lib/page_rankr/backlink.rb
PageRankr-4.3.0 lib/page_rankr/backlink.rb
PageRankr-4.2.1 lib/page_rankr/backlink.rb
PageRankr-4.2.0 lib/page_rankr/backlink.rb
PageRankr-4.1.1 lib/page_rankr/backlink.rb
PageRankr-4.1.0 lib/page_rankr/backlink.rb
PageRankr-4.0.0 lib/page_rankr/backlink.rb
PageRankr-3.2.1 lib/page_rankr/backlink.rb
PageRankr-3.2.0 lib/page_rankr/backlink.rb
PageRankr-3.1.2 lib/page_rankr/backlink.rb
PageRankr-3.1.1 lib/page_rankr/backlink.rb
PageRankr-3.1.0 lib/page_rankr/backlink.rb