Object
# File lib/em-twitter/reconnectors/application_failure.rb, line 25 def increment if maximum_reconnects? raise EM::Twitter::ReconnectLimitError.new("#{@reconnect_count} Reconnects") end yield @reconnect_timeout if block_given? @reconnect_count += 1 @reconnect_timeout *= INCREMENTOR end
Generated with the Darkfish Rdoc Generator 2.