Sha256: fee0c52b2f277d3a33ca73eaafbcddea30b9292cffcd0cbe5abea14d381caf49

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

class IdsPlease
  class Reddit < IdsPlease::BaseParser

    MASK = /reddit/i

    class << self
      private

      def parse_link(link)
        link.path.split('/')[2]
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ids_please-1.1.4 lib/ids_please/reddit.rb
ids_please-1.1.3 lib/ids_please/reddit.rb
ids_please-1.1.2 lib/ids_please/reddit.rb
ids_please-1.1.1 lib/ids_please/reddit.rb