Class: SchemaSherlock::Configuration
- Inherits:
-
Object
- Object
- SchemaSherlock::Configuration
- Defined in:
- lib/schema_sherlock/configuration.rb
Instance Attribute Summary collapse
-
#exclude_models ⇒ Object
Returns the value of attribute exclude_models.
-
#min_usage_threshold ⇒ Object
Returns the value of attribute min_usage_threshold.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/schema_sherlock/configuration.rb', line 6 def initialize @exclude_models = ['ActiveRecord::Base'] @min_usage_threshold = 3 end |
Instance Attribute Details
#exclude_models ⇒ Object
Returns the value of attribute exclude_models.
3 4 5 |
# File 'lib/schema_sherlock/configuration.rb', line 3 def exclude_models @exclude_models end |
#min_usage_threshold ⇒ Object
Returns the value of attribute min_usage_threshold.
3 4 5 |
# File 'lib/schema_sherlock/configuration.rb', line 3 def min_usage_threshold @min_usage_threshold end |