Sha256: 07818ff58325a67c674f5766cf8e33249de40ee650b6c5e428232e32a44d4178
Contents?: true
Size: 197 Bytes
Versions: 3
Compression:
Stored size: 197 Bytes
Contents
module Onebox class Matcher def initialize(link) @url = link end def oneboxed Engine.engines.select do |engine| engine === @url end.first end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
onebox-1.1.0 | lib/onebox/matcher.rb |
onebox-1.0.1 | lib/onebox/matcher.rb |
onebox-1.0.0 | lib/onebox/matcher.rb |