lib/onebox/engine.rb in onebox-1.3.8 vs lib/onebox/engine.rb in onebox-1.3.9

- old
+ new

@@ -79,13 +79,9 @@ def priority 100 end - def matches(&block) - matches_regexp(Hexpress.new(&block).to_r) - end - def matches_regexp(r) class_variable_set :@@matcher, r end # calculates a name for onebox using the class name of engine