Method: CM::Plugin::Sequence#forward
- Defined in:
- lib/core/plugin/sequence.rb
#forward(operation) ⇒ Object
Operations
90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/core/plugin/sequence.rb', line 90 def forward(operation) if initialized? myself.status = code.success success = true success = yield(success) if block_given? else success = false end myself.status = code.sequence_failed unless success success end |