require 'aruba/processes/in_process'

module Aruba
  class InProcess < Aruba::Processes::InProcess
    def initialize(*args)
      warn('The use of "Aruba::InProcess" is deprecated. Use "Aruba::Processes::InProcess" instead.')

      super
    end
  end
end

require 'aruba/processes/in_process'
require 'aruba/platform'

module Aruba
  class InProcess < Aruba::Processes::InProcess
    def initialize(*args)
      Aruba::Platform.deprecated('The use of "Aruba::InProcess" is deprecated. Use "Aruba::Processes::InProcess" instead.')

      super
    end

    def self.main_class(*args)
      Aruba::Platform.deprecated('The use of "Aruba::InProcess" is deprecated. Use "Aruba::Processes::InProcess" instead.')

      Aruba::Processes::InProcess.main_class(*args)
    end
  end
end

Make it possible to use oldstyle main_class
Make it possible to use oldstyle main_class
