Class: PaperTrail::Config
- Inherits:
-
Object
- Object
- PaperTrail::Config
- Includes:
- Singleton
- Defined in:
- lib/paper_trail/config.rb
Instance Attribute Summary (collapse)
-
- (Object) enabled
Returns the value of attribute enabled.
Instance Method Summary (collapse)
-
- (Config) initialize
constructor
A new instance of Config.
Constructor Details
- (Config) initialize
A new instance of Config
6 7 8 9 |
# File 'lib/paper_trail/config.rb', line 6 def initialize # Indicates whether PaperTrail is on or off. @enabled = true end |
Instance Attribute Details
- (Object) enabled
Returns the value of attribute enabled
4 5 6 |
# File 'lib/paper_trail/config.rb', line 4 def enabled @enabled end |