Module: Watir::Atoms

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

Constant Summary

ATOMS =
{}

Class Method Summary collapse

Class Method Details

.load(function_name) ⇒ Object



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