Sha256: be690c69d7608e1f6063e3194cd6ba23107a25878fb061408d13f62bacc1d68a

Contents?: true

Size: 654 Bytes

Versions: 3

Compression:

Stored size: 654 Bytes

Contents

# frozen_string_literal: true

require 'json'

module KDoc
  # This is called fake opinion because I have not figured out
  # how I want to implement this
  class FakeOpinion
    attr_accessor :default_model_type
    attr_accessor :default_settings_key
    attr_accessor :default_table_key

    # attr_accessor :document_class
    attr_accessor :settings_class
    attr_accessor :table_class

    def initialize
      @default_model_type = :entity
      @default_settings_key = :settings
      @default_table_key = :table

      # @document_class = KDoc::Document
      @table_class = KDoc::Table
      @settings_class = KDoc::Settings
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
k_doc-0.0.18 lib/k_doc/fake_opinion.rb
k_doc-0.0.17 lib/k_doc/fake_opinion.rb
k_doc-0.0.16 lib/k_doc/fake_opinion.rb