Class: Commento::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/commento/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#adapterObject

Returns the value of attribute adapter.



5
6
7
# File 'lib/commento/configuration.rb', line 5

def adapter
  @adapter
end

#exclude_foldersObject

Returns the value of attribute exclude_folders.



5
6
7
# File 'lib/commento/configuration.rb', line 5

def exclude_folders
  @exclude_folders
end

#include_foldersObject

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_namesObject

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_namesObject

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