Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Library for defining, matching and parsing internet "memes"
Ruby
Tree: ab9b561b9d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.rspec
Gemfile
Rakefile
readme.md

readme.md

Memetron

Identify and parse internet "memes" in Ruby

How

require 'memetron'

Memetron::Matcher.match('A wild Ruby library appears')
# => [Memetron::Pokemon, 'Ruby Library']

Make your own meme using the awesome DSL

module Memetron
  class SeanBean < Meme
    matcher /Prepare yourself,? (.*) are coming/i

    should_match "prepare yourself, the automatically generated memes are coming"
    and_return "the automatically generated memes"
  end
end

Why?

For the lulz.

Something went wrong with that request. Please try again.