Class: Draftsman::Config
- Inherits:
-
Object
- Object
- Draftsman::Config
- Includes:
- Singleton
- Defined in:
- lib/draftsman/config.rb
Instance Attribute Summary collapse
-
#serializer ⇒ Object
Returns the value of attribute serializer.
-
#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
8 9 10 11 |
# File 'lib/draftsman/config.rb', line 8 def initialize = :created_at @serializer = Draftsman::Serializers::Yaml end |
Instance Attribute Details
#serializer ⇒ Object
Returns the value of attribute serializer.
6 7 8 |
# File 'lib/draftsman/config.rb', line 6 def serializer @serializer end |
#timestamp_field ⇒ Object
Returns the value of attribute timestamp_field.
6 7 8 |
# File 'lib/draftsman/config.rb', line 6 def end |