Class: Kentouzu::Config
- Inherits:
-
Object
- Object
- Kentouzu::Config
- Includes:
- Singleton
- Defined in:
- lib/kentouzu/config.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#timestamp_field ⇒ Object
Returns the value of attribute timestamp_field.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
6 7 8 9 |
# File 'lib/kentouzu/config.rb', line 6 def initialize @enabled = true @timestamp_field = :created_at end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
4 5 6 |
# File 'lib/kentouzu/config.rb', line 4 def enabled @enabled end |
#timestamp_field ⇒ Object
Returns the value of attribute timestamp_field.
4 5 6 |
# File 'lib/kentouzu/config.rb', line 4 def @timestamp_field end |