Sha256: bdac23cbfce70d9c8b94b1de6c7a82759ffed8a13b924e25f23a51fce4ff2dfc

Contents?: true

Size: 252 Bytes

Versions: 13

Compression:

Stored size: 252 Bytes

Contents

require 'singleton'

module Draftsman
  class Config
    include Singleton
    attr_accessor :serializer, :timestamp_field

    def initialize
      @timestamp_field = :created_at
      @serializer      = Draftsman::Serializers::Yaml
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
draftsman-0.4.0 lib/draftsman/config.rb
draftsman-0.3.7 lib/draftsman/config.rb
draftsman-0.3.6 lib/draftsman/config.rb
draftsman-0.3.5 lib/draftsman/config.rb
draftsman-0.3.4 lib/draftsman/config.rb
draftsman-0.3.3 lib/draftsman/config.rb
draftsman-0.3.2 lib/draftsman/config.rb
draftsman-0.3.1 lib/draftsman/config.rb
draftsman-0.3.0 lib/draftsman/config.rb
draftsman-0.2.1 lib/draftsman/config.rb
draftsman-0.2.0 lib/draftsman/config.rb
draftsman-0.1.1 lib/draftsman/config.rb
draftsman-0.1.0 lib/draftsman/config.rb