lib/symbiont/elements.rb in symbiont-1.0.0 vs lib/symbiont/elements.rb in symbiont-1.1.0
- old
+ new
@@ -29,10 +29,10 @@
def selectable?(element)
selectable.include? element.to_sym
end
end
- module Element
+ module Elements
# Iterates through Watir factory methods. Each method is defined
# as a method that can be called on a page class. This is what
# allows element definitions to be created.
Symbiont.elements.each do |element|
define_method(element) do |*signature, &block|