Class: KDoc::FakeOpinion
- Inherits:
-
Object
- Object
- KDoc::FakeOpinion
- 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
-
#default_action_type ⇒ Object
Returns the value of attribute default_action_type.
-
#default_csv_type ⇒ Object
Returns the value of attribute default_csv_type.
-
#default_json_type ⇒ Object
Returns the value of attribute default_json_type.
-
#default_model_type ⇒ Object
Returns the value of attribute default_model_type.
-
#default_settings_key ⇒ Object
Returns the value of attribute default_settings_key.
-
#default_table_key ⇒ Object
Returns the value of attribute default_table_key.
-
#default_yaml_type ⇒ Object
Returns the value of attribute default_yaml_type.
-
#settings_class ⇒ Object
attr_accessor :document_class.
-
#table_class ⇒ Object
Returns the value of attribute table_class.
Instance Method Summary collapse
-
#initialize ⇒ FakeOpinion
constructor
A new instance of FakeOpinion.
Constructor Details
#initialize ⇒ FakeOpinion
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_type ⇒ Object
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_type ⇒ Object
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_type ⇒ Object
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_type ⇒ Object
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_key ⇒ Object
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_key ⇒ Object
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_type ⇒ Object
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_class ⇒ Object
attr_accessor :document_class
19 20 21 |
# File 'lib/k_doc/fake_opinion.rb', line 19 def settings_class @settings_class end |
#table_class ⇒ Object
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 |