Class: Commento::Configuration
- Inherits:
-
Object
- Object
- Commento::Configuration
- Defined in:
- lib/commento/configuration.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#exclude_folders ⇒ Object
Returns the value of attribute exclude_folders.
-
#include_folders ⇒ Object
Returns the value of attribute include_folders.
-
#skip_column_names ⇒ Object
Returns the value of attribute skip_column_names.
-
#skip_table_names ⇒ Object
Returns the value of attribute skip_table_names.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 |
# File 'lib/commento/configuration.rb', line 7 def initialize @adapter = nil @include_folders = %w[app lib] @exclude_folders = ['app/assets'] @skip_table_names = %w[ar_internal_metadata schema_migrations] @skip_column_names = %w[id uuid created_at updated_at] end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
5 6 7 |
# File 'lib/commento/configuration.rb', line 5 def adapter @adapter end |
#exclude_folders ⇒ Object
Returns the value of attribute exclude_folders.
5 6 7 |
# File 'lib/commento/configuration.rb', line 5 def exclude_folders @exclude_folders end |
#include_folders ⇒ Object
Returns the value of attribute include_folders.
5 6 7 |
# File 'lib/commento/configuration.rb', line 5 def include_folders @include_folders end |
#skip_column_names ⇒ Object
Returns the value of attribute skip_column_names.
5 6 7 |
# File 'lib/commento/configuration.rb', line 5 def skip_column_names @skip_column_names end |
#skip_table_names ⇒ Object
Returns the value of attribute skip_table_names.
5 6 7 |
# File 'lib/commento/configuration.rb', line 5 def skip_table_names @skip_table_names end |