Class: Fixturama::Changes::Chain::Actions
- Inherits:
-
Object
- Object
- Fixturama::Changes::Chain::Actions
- Defined in:
- lib/fixturama/changes/chain/actions.rb
Overview
Keep arguments of a message chain along with the corresponding actions
Instance Method Summary collapse
Instance Method Details
#next ⇒ Object
7 8 9 |
# File 'lib/fixturama/changes/chain/actions.rb', line 7 def next @list.count > 1 ? @list.pop : @list.first end |