Class: PaperTrail::ActiveRecordExt::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/paper_trail/active_record/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



4
5
6
7
8
# File 'lib/paper_trail/active_record/configuration.rb', line 4

def initialize
  config = self

  config.versions_extends = []
end

Instance Attribute Details

#versions_extendsObject

Causes methods that return a collection of Versions to automatically extend these modules. config.versions_extends = [Versions]



12
13
14
# File 'lib/paper_trail/active_record/configuration.rb', line 12

def versions_extends
  @versions_extends
end