Module: Lims::Core::Actions::ActionGroup
- Included in:
- TestActionGroup::ActionGroup
- Defined in:
- lib/lims-core/actions/action_group.rb
Overview
This module provide a helper to execute multiple action a time. This module is not intended to be used as a bare class but more as a base to define multiple actions “creator”, which will manage the needed parameters and create the actions consequently. This action executes all the action in sequence and the result is an array of the results.
Defined Under Namespace
Modules: AfterEval
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/lims-core/actions/action_group.rb', line 12 def self.included(klass) klass.class_eval do include Action include AfterEval attribute :actions, Array, :required => true, :writer => :private , :reader => :private, :initializable => true end end |