lib/ids_please/tumblr.rb in ids_please-1.1.0 vs lib/ids_please/tumblr.rb in ids_please-1.1.1

- old
+ new

@@ -1,14 +1,16 @@ class IdsPlease class Tumblr < IdsPlease::BaseParser MASK = /tumblr/i - private + class << self + private - def self.parse_link(link) - return if link.host.sub('.tumblr.com', '') == link.host - link.host.sub('.tumblr.com', '') + def parse_link(link) + return if link.host.sub('.tumblr.com', '') == link.host + link.host.sub('.tumblr.com', '') + end end end end