Class: FixDBSchemaConflicts::AutocorrectConfiguration
- Inherits:
-
Object
- Object
- FixDBSchemaConflicts::AutocorrectConfiguration
- Defined in:
- lib/fix_db_schema_conflicts/autocorrect_configuration.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.load ⇒ Object
3 4 5 |
# File 'lib/fix_db_schema_conflicts/autocorrect_configuration.rb', line 3 def self.load new.load end |
Instance Method Details
#load ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fix_db_schema_conflicts/autocorrect_configuration.rb', line 7 def load if less_than_rubocop?(49) '.rubocop_schema.yml' elsif less_than_rubocop?(53) '.rubocop_schema.49.yml' elsif less_than_rubocop?(77) '.rubocop_schema.53.yml' else '.rubocop_schema.77.yml' end end |