lib/mohawk/adapters/uia_adapter.rb in mohawk-0.0.6 vs lib/mohawk/adapters/uia_adapter.rb in mohawk-0.0.7
- old
+ new
@@ -71,9 +71,13 @@
def value_control(locator)
@controls ||= {}
@controls[locator] ||= Mohawk::Accessors::Control.new(self, merge(locator))
end
+ def tab_control(locator)
+ Mohawk::Accessors::Tabs.new(self, merge(locator))
+ end
+
private
def merge(locator)
locator = locator.merge(:children_only => true) if @only_search_children
locator
end