Sha256: f54e8f6527ab89bfd86fb5ebe427480cb8c1ebf19eecd6338c872409b7464ce9

Contents?: true

Size: 656 Bytes

Versions: 5

Compression:

Stored size: 656 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.8 lib/k_doc/fake_opinion.rb
k_doc-0.0.7 lib/k_doc/fake_opinion.rb
k_doc-0.0.6 lib/k_doc/fake_opinion.rb
k_doc-0.0.5 lib/k_doc/fake_opinion.rb
k_doc-0.0.4 lib/k_doc/fake_opinion.rb