lib/omniauth/strategies/multi_password.rb in omniauth-multipassword-0.4.1 vs lib/omniauth/strategies/multi_password.rb in omniauth-multipassword-0.4.2
- old
+ new
@@ -9,10 +9,10 @@
def initialize(app, *args, &block)
super(app, *args) do end
if block.arity == 0
- instance_eval block
+ instance_eval &block
else
block.call self
end
end