lib/support/gateway_support.rb in activemerchant-1.133.0 vs lib/support/gateway_support.rb in activemerchant-1.137.0

- old
+ new

@@ -21,11 +21,11 @@ end @gateways = Gateway.implementations.sort_by(&:name) @gateways.delete(ActiveMerchant::Billing::BogusGateway) end - def each_gateway - @gateways.each { |g| yield g } + def each_gateway(&block) + @gateways.each(&block) end def features width = 15