lib/warden/strategies.rb
# Update a previously given strategy.
Update a previously given strategy.
Update a previously given strategy .
def update(label, &block)
        strategy = _strategies[label]
        raise "Unknown strategy #{label.inspect}" unless strategy
        add(label, strategy, &block)
      end
def update ( label , & block ) strategy = _strategies [ label ] raise "Unknown strategy #{label.inspect}" unless strategy add ( label , strategy , & block ) end
Update a previously given strategy.
Update a previously given strategy .
label
<not_specific>
block
<not_specific>