Module: YuiOnRails::Tabs

Defined in:
lib/yui-on-rails/tabs.rb

Defined Under Namespace

Classes: TabsRenderer

Instance Method Summary collapse

Instance Method Details

#tabs_for(*options, &block) ⇒ Object



4
5
6
7
8
# File 'lib/yui-on-rails/tabs.rb', line 4

def tabs_for(*options, &block)
  tabs = YuiOnRails::Tabs::TabsRenderer.new(*options, &block)
  tabs_html = tabs.render
  return concat(tabs_html)
end