lib/jqueryui_widgets/tabs.rb in jqueryui_widgets-0.2 vs lib/jqueryui_widgets/tabs.rb in jqueryui_widgets-0.3

- old
+ new

@@ -2,6 +2,13 @@ def select(label) link_element(:text => label).click end + def selected + list_item_element(:class => 'ui-tabs-active').link_element.text + end + + def labels + link_elements(:class => 'ui-tabs-anchor').map(&:text) + end end