lib/telegram/bot/updates_controller/testing.rb
# Cleans controller between dispatches.
# Seems like there is nothing to clean between requests for now:
# everything will be rewriten with #initialize.
#
# With `full` set to `true` it'll clear all cached instance variables.
Cleans controller between dispatches.
Seems like there is nothing to clean between requests for now:
everything will be rewriten with #initialize.

With `full` set to `true` it'll clear all cached instance variables.
Cleans controller between dispatches . Seems like there is nothing to clean between requests for now : everything will be rewriten with #initialize . With ` full ` set to ` true ` it ' ll clear all cached instance variables .
def recycle!(full = false)
          return unless full
          (instance_variables - IVARS_TO_KEEP).each do |ivar|
            remove_instance_variable(ivar)
          end
        end
def recycle! ( full = false ) return unless full ( instance_variables - IVARS_TO_KEEP ) . each do | ivar | remove_instance_variable ( ivar ) end end
Cleans controller between dispatches.
Cleans controller between dispatches .
full