# File lib/amqp/session.rb, line 98 def reconnect_to(connection_string_or_options = {}, period = 2) opts = case connection_string_or_options when String then AMQP::Client.parse_connection_uri(connection_string_or_options) when Hash then connection_string_or_options else Hash.new end super(opts, period) end