Module: VestalVersions::Reversion

Defined in:
lib/vestal_versions/reversion.rb

Overview

Enables versioned ActiveRecord::Base instances to revert to a previously saved version.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



4
5
6
7
8
# File 'lib/vestal_versions/reversion.rb', line 4

def self.included(base) # :nodoc:
  base.class_eval do
    include InstanceMethods
  end
end