Method: Onebox::Engine::GoogleMapsOnebox.===

Defined in:
lib/onebox/engine/google_maps_onebox.rb

.===(other) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/onebox/engine/google_maps_onebox.rb', line 9

def ===(other)
  if other.kind_of? URI
    @@matchers && @@matchers.any? { |m| other.to_s =~ m[:regexp] }
  else
    super
  end
end