# File lib/warden/hooks.rb, line 109 def before_failure(options = {}, method = :push, &block) raise BlockNotGiven unless block_given? _before_failure.send(method, [block, options]) end