Class: 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.
82 83 84 85 |
# File 'lib/active_admin/resource/action_items.rb', line 82 def initialize( = {}, &block) @options, @block = , block end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
80 81 82 |
# File 'lib/active_admin/resource/action_items.rb', line 80 def block @block end |