Module: VestalVersions::Users

Defined in:
lib/vestal_versions/users.rb

Overview

Provides a way for information to be associated with specific versions as to who was responsible for the associated update to the parent.

Defined Under Namespace

Modules: InstanceMethods, VersionMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



5
6
7
8
9
10
11
12
13
# File 'lib/vestal_versions/users.rb', line 5

def self.included(base) # :nodoc:
  Version.send(:include, VersionMethods)

  base.class_eval do
    include InstanceMethods

    attr_accessor :updated_by
  end
end