undo-manager

undo-manager makes it easy to add undo/redo functionality to a Ruby (on Rails) app. It uses the command pattern to do so. undo-manager provides the handling of undo and redo. It’s up to you to implement the #do and #undo methods for each of your commands.

Installation

gem install undo-manager

or with bundler in your Gemfile:

gem 'undo-manager'

Dependencies

  • Ruby >= 1.9.3

Resources

Build Status

Code Climate

License

MIT licensed.

Copyright (c) 2015 Jo Hund. See (MIT) LICENSE for details.