Sha256: 097560b2e421a9ebf8e6be47307509a97233a8bf89a6c3952b41727be393498d

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

class IdsPlease
  class Tumblr < IdsPlease::BaseParser

    MASK = /tumblr/i

    private

    def self.parse_link(link)
      return if link.host.sub('.tumblr.com', '') == link.host
      link.host.sub('.tumblr.com', '')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ids_please-1.1.0 lib/ids_please/tumblr.rb