Class: KDoc::FakeOpinion

Inherits:
Object
  • Object
show all
Defined in:
lib/k_doc/fake_opinion.rb

Overview

This is called fake opinion because I have not figured out how I want to implement this Need to look at the configuration patterns, this is really a configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFakeOpinion

Returns a new instance of FakeOpinion.



22
23
24
25
26
27
28
29
30
31
# File 'lib/k_doc/fake_opinion.rb', line 22

def initialize
  # @default_model_type = :entity
  @default_action_type = :action
  @default_model_type = :kdoc
  @default_csv_type = :csv
  @default_json_type = :json
  @default_yaml_type = :yaml
  @default_settings_key = :settings
  @default_table_key = :table
end

Instance Attribute Details

#default_action_typeObject

Returns the value of attribute default_action_type.



10
11
12
# File 'lib/k_doc/fake_opinion.rb', line 10

def default_action_type
  @default_action_type
end

#default_csv_typeObject

Returns the value of attribute default_csv_type.



12
13
14
# File 'lib/k_doc/fake_opinion.rb', line 12

def default_csv_type
  @default_csv_type
end

#default_json_typeObject

Returns the value of attribute default_json_type.



13
14
15
# File 'lib/k_doc/fake_opinion.rb', line 13

def default_json_type
  @default_json_type
end

#default_model_typeObject

Returns the value of attribute default_model_type.



11
12
13
# File 'lib/k_doc/fake_opinion.rb', line 11

def default_model_type
  @default_model_type
end

#default_settings_keyObject

Returns the value of attribute default_settings_key.



15
16
17
# File 'lib/k_doc/fake_opinion.rb', line 15

def default_settings_key
  @default_settings_key
end

#default_table_keyObject

Returns the value of attribute default_table_key.



16
17
18
# File 'lib/k_doc/fake_opinion.rb', line 16

def default_table_key
  @default_table_key
end

#default_yaml_typeObject

Returns the value of attribute default_yaml_type.



14
15
16
# File 'lib/k_doc/fake_opinion.rb', line 14

def default_yaml_type
  @default_yaml_type
end

#settings_classObject

attr_accessor :document_class



19
20
21
# File 'lib/k_doc/fake_opinion.rb', line 19

def settings_class
  @settings_class
end

#table_classObject

Returns the value of attribute table_class.



20
21
22
# File 'lib/k_doc/fake_opinion.rb', line 20

def table_class
  @table_class
end