Sha256: a76471bfc6a1eb295446dff7528c9735263c2b11dd1b8a5f54b77dedeb1da774

Contents?: true

Size: 660 Bytes

Versions: 5

Compression:

Stored size: 660 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_document_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_document_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

5 entries across 5 versions & 1 rubygems

Version Path
k_doc-0.0.15 lib/k_doc/fake_opinion.rb
k_doc-0.0.13 lib/k_doc/fake_opinion.rb
k_doc-0.0.12 lib/k_doc/fake_opinion.rb
k_doc-0.0.11 lib/k_doc/fake_opinion.rb
k_doc-0.0.10 lib/k_doc/fake_opinion.rb