# File lib/ramaze/snippets/thread/into.rb, line 7
  def self.into(*args)
    Thread.new(Thread.current, *args) do |thread, *thread_args|
      thread.keys.each do |k|
        Thread.current[k] = thread[k] unless k.to_s =~ /^__/
      end

      yield(*thread_args)
    end
  end