Class: PaperTrail::ActiveRecordExt::Configuration
- Inherits:
-
Object
- Object
- PaperTrail::ActiveRecordExt::Configuration
- Defined in:
- lib/paper_trail/active_record/configuration.rb
Instance Attribute Summary collapse
-
#versions_extends ⇒ Object
Causes methods that return a collection of Versions to automatically extend these modules.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_extends ⇒ Object
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 |