Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d9ee797b80
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.287 kB
module Memetron
class Matcher
class << self
def match(string)
Memetron::Meme.memes.each do |meme|
match = meme.match(string)
if match
return [meme, match]
end
end
return nil
end
alias :[] :match
end
end
end
Jump to Line
Something went wrong with that request. Please try again.