Sha256: e89b4377c44fb2d03554e75197eee4848dc05713b64c32fce852217934211985
Contents?: true
Size: 396 Bytes
Versions: 6
Compression:
Stored size: 396 Bytes
Contents
class IdsPlease module Parsers class Livejournal < IdsPlease::Parsers::Base MASK = /livejournal/i class << self def parse_link(link) parsed = link.host.sub('.livejournal.com', '') parsed = link.host.split('.livejournal').first if parsed == link.host return if parsed == link.host parsed end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems