Class: ActiveAdmin::Views::ActionItems
- Defined in:
- lib/active_admin/views/action_items.rb
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from ActiveAdmin::Component
Instance Method Details
#build(action_items) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/active_admin/views/action_items.rb', line 6 def build(action_items) action_items.each do |action_item| span :class => "action_item" do instance_eval(&action_item.block) end end end |