class Aureus::Components::ToolbarSection

Public Class Methods

new(position) click to toggle source
# File lib/aureus/components/toolbar.rb, line 27
def initialize(position)
  @items = Array.new
  @position = position
end

Public Instance Methods

dropdown(title) { |toolbar| ... } click to toggle source
info(text) click to toggle source
# File lib/aureus/components/toolbar.rb, line 42
def info(text)
  @items << ToolbarInfo.new(text,0)
end
render() click to toggle source
# File lib/aureus/components/toolbar.rb, line 46
def render
  content_tag 'ul', compact_render(*@items), class: @position
end