Class: WorkflowTemplate::Definer::HasValidations::Action
- Inherits:
-
Object
- Object
- WorkflowTemplate::Definer::HasValidations::Action
- Defined in:
- lib/workflow_template/definer/has_validations/action.rb
Instance Attribute Summary collapse
-
#validations ⇒ Object
readonly
Returns the value of attribute validations.
Instance Method Summary collapse
-
#initialize(action, validations) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(action, validations) ⇒ Action
Returns a new instance of Action.
7 8 9 10 |
# File 'lib/workflow_template/definer/has_validations/action.rb', line 7 def initialize(action, validations) @action = action @validations = validations end |
Instance Attribute Details
#validations ⇒ Object (readonly)
Returns the value of attribute validations.
12 13 14 |
# File 'lib/workflow_template/definer/has_validations/action.rb', line 12 def validations @validations end |