Module: VestalVersions::Reset
- Defined in:
- lib/vestal_versions/reset.rb
Overview
Adds the ability to “reset” (or hard revert) a versioned ActiveRecord::Base instance.
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
4 5 6 7 8 |
# File 'lib/vestal_versions/reset.rb', line 4 def self.included(base) # :nodoc: base.class_eval do include InstanceMethods end end |