Sha256: 5ccac386427f6c7a36c22cc1325d75af0d06ce513098215c13fe4b26219c0019
Contents?: true
Size: 989 Bytes
Versions: 11
Compression:
Stored size: 989 Bytes
Contents
module Calabash module Android # Runtime defaults for Android. module Defaults # Sets up the default device and the default application based on the # environment. # # @see Calabash::Android::Defaults#setup_default_application! # @see Calabash::Android::Defaults#setup_default_device! # @see Calabash::Environment def setup_defaults! setup_default_application! setup_default_device! end # Sets up the default application based on the environment. def setup_default_application! # Setup the default application Calabash.default_application = Application.default_from_environment end # Sets up the default device based on the environment. def setup_default_device! # Setup the default device identifier = Device.default_serial server = Server.default Calabash.default_device = Device.new(identifier, server) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems