Class: ActiveAdmin::ActionItem
- Inherits:
-
Object
- Object
- ActiveAdmin::ActionItem
- Includes:
- OptionalDisplay
- Defined in:
- lib/active_admin/resource/action_items.rb
Overview
Model class to store the data for ActionItems
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.
87 88 89 90 |
# File 'lib/active_admin/resource/action_items.rb', line 87 def initialize( = {}, &block) @options, @block = , block end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
85 86 87 |
# File 'lib/active_admin/resource/action_items.rb', line 85 def block @block end |