lib/onebox/engine/google_maps_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/google_maps_onebox.rb in onebox-1.8.23

- old
+ new

@@ -4,19 +4,19 @@ include Engine class << self def ===(other) if other.kind_of? URI - @@matchers && @@matchers.any? {|m| other.to_s =~ m[:regexp] } + @@matchers && @@matchers.any? { |m| other.to_s =~ m[:regexp] } else super end end private def matches_regexp(key, regexp) - (@@matchers ||= []) << {key: key, regexp: regexp} + (@@matchers ||= []) << { key: key, regexp: regexp } end end always_https