Sha256: d8cfde51f672b47042a31a473226ff8fc9992063599e1a57b2bff933b9188f7f

Contents?: true

Size: 297 Bytes

Versions: 15

Compression:

Stored size: 297 Bytes

Contents

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

module PageRankr
  module Index
    include Tracker

    alias_method :index, :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/index.rb
PageRankr-4.6.0 lib/page_rankr/index.rb
PageRankr-4.4.1 lib/page_rankr/index.rb
PageRankr-4.4.0 lib/page_rankr/index.rb
PageRankr-4.3.0 lib/page_rankr/index.rb
PageRankr-4.2.1 lib/page_rankr/index.rb
PageRankr-4.2.0 lib/page_rankr/index.rb
PageRankr-4.1.1 lib/page_rankr/index.rb
PageRankr-4.1.0 lib/page_rankr/index.rb
PageRankr-4.0.0 lib/page_rankr/index.rb
PageRankr-3.2.1 lib/page_rankr/index.rb
PageRankr-3.2.0 lib/page_rankr/index.rb
PageRankr-3.1.2 lib/page_rankr/index.rb
PageRankr-3.1.1 lib/page_rankr/index.rb
PageRankr-3.1.0 lib/page_rankr/index.rb