module Marta::OptionsAndPaths

Marta can store and return settings which may differ for each thread

Settings for Marta. Most of them could be changed in action using dance_with. Most of them are thread dependant.

Private Instance Methods

base_url() click to toggle source

Marta knows the basic url of the project. If it is defined

# File lib/marta/options_and_paths.rb, line 235
def base_url
  SettingMaster.base_url
end
cold_timeout() click to toggle source

Marta stores a cold_timeout value

# File lib/marta/options_and_paths.rb, line 240
def cold_timeout
  SettingMaster.cold_timeout
end
gem_libdir() click to toggle source

Defining the place for files to inject to browser

# File lib/marta/options_and_paths.rb, line 215
def gem_libdir
  SettingMaster.gem_libdir
end
learn_status() click to toggle source

Marta knows does she learn or not.

# File lib/marta/options_and_paths.rb, line 220
def learn_status
  SettingMaster.learn_status
end
pageobjects_folder() click to toggle source

Marta knows where are her saved generated pageobjects

# File lib/marta/options_and_paths.rb, line 225
def pageobjects_folder
  SettingMaster.pageobjects_folder
end
port() click to toggle source

Marta stores port for Marta server for each thread.

# File lib/marta/options_and_paths.rb, line 245
def port
  SettingMaster.port
end
tolerancy_value() click to toggle source

Marta knows how hard she should search for elements

# File lib/marta/options_and_paths.rb, line 230
def tolerancy_value
  SettingMaster.tolerancy_value
end