Sha256: 9fa4f73964b26298177aa9a88a409b303f24908efc47cbc514d4a35dab30576e
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
class IdsPlease class Moikrug < IdsPlease::BaseParser MASK = /moikrug/i def self.parse(links) links.map do |link| next if link.host.sub('.moikrug.ru', '') == link.host parse_link(link) end.compact end private def self.parse_link(link) link.host.sub('.moikrug.ru', '') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ids_please-1.1.0 | lib/ids_please/moikrug.rb |