Module: Applitools::Selenium::Capybara

Extended by:
RequireUtils
Defined in:
lib/eyes_capybara.rb,
lib/applitools/capybara/driver.rb,
lib/applitools/capybara/capybara_settings.rb

Defined Under Namespace

Modules: CapybaraSettings

Class Method Summary collapse

Class Method Details

.require_dir(dir) ⇒ Object



10
11
12
13
14
15
# File 'lib/eyes_capybara.rb', line 10

def self.require_dir(dir)
  load_dir = File.dirname(File.expand_path(__FILE__))
  Dir[File.join(load_dir, 'applitools', dir, '*.rb')].sort.each do |f|
    require f
  end
end