Class: DatabaseConsistency::Checkers::RedundantIndexChecker::Report
- Inherits:
-
Report
- Object
- Report
- DatabaseConsistency::Checkers::RedundantIndexChecker::Report
- Defined in:
- lib/database_consistency/checkers/index_checkers/redundant_index_checker.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#index_name ⇒ Object
readonly
Returns the value of attribute index_name.
Attributes inherited from Report
#checker_name, #column_or_attribute_name, #error_message, #error_slug, #status, #table_or_model_name
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(index_name:, **args) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(index_name:, **args) ⇒ Report
Returns a new instance of Report.
10 11 12 13 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_index_checker.rb', line 10 def initialize(index_name:, **args) super(**args) @index_name = index_name end |
Instance Attribute Details
#index_name ⇒ Object (readonly)
Returns the value of attribute index_name.
8 9 10 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_index_checker.rb', line 8 def index_name @index_name end |
Instance Method Details
#attributes ⇒ Object
15 16 17 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_index_checker.rb', line 15 def attributes super.merge(index_name: index_name) end |