lib/onebox.rb in onebox-1.6.9 vs lib/onebox.rb in onebox-1.7.0
- old
+ new
@@ -31,11 +31,10 @@
def self.options
OpenStruct.new(@@options)
end
def self.has_matcher?(url)
- result = Matcher.new(url).oneboxed
- !!result
+ !!Matcher.new(url).oneboxed
end
def self.options=(options)
@@options = DEFAULTS.merge(options)
end