Sha256: 33f81f7d0ad08ccf6eddd2764e7e1126c35904bcb314e96c0dad8357da56db10
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
class IdsPlease::Tumblr < IdsPlease::BaseParser MASK = /tumblr/i def self.parse(links) links.map do |link| next if link.host.sub('.tumblr.com', '') == link.host parse_link(link) end.compact end def self.parse_link(link) link.host.sub('.tumblr.com', '') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ids_please-0.0.3 | lib/ids_please/tumblr.rb |
ids_please-0.0.2 | lib/ids_please/tumblr.rb |
ids_please-0.0.1 | lib/ids_please/tumblr.rb |