Module: Watir::Atoms

Included in:
Container
Defined in:
lib/watir-webdriver/atoms.rb

Constant Summary

ATOMS =
{}

Class Method Summary (collapse)

Class Method Details

+ (Object) load(function_name)



6
7
8
# File 'lib/watir-webdriver/atoms.rb', line 6

def self.load(function_name)
  ATOMS[function_name] = File.read(File.expand_path("../atoms/#{function_name}.js", __FILE__))
end