Class: ActiveAdmin::ActionItems::ActionItem
- Includes:
- OptionalDisplay
- Defined in:
- lib/active_admin/action_items.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
-
#initialize(options = {}, &block) ⇒ ActionItem
constructor
A new instance of ActionItem.
Methods included from OptionalDisplay
Constructor Details
#initialize(options = {}, &block) ⇒ ActionItem
Returns a new instance of ActionItem.
31 32 33 34 |
# File 'lib/active_admin/action_items.rb', line 31 def initialize( = {}, &block) @options, @block = , block end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
29 30 31 |
# File 'lib/active_admin/action_items.rb', line 29 def block @block end |