Skip to content

Commit

Permalink
* Disable a rubocop rule for a method overriding a parent method
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Nov 13, 2023
1 parent 0e20cb8 commit f4b0193
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/sequel_rails/migrations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def initialize(db, directory, opts = OPTS)

private

# This is overriding parent method, no way to choose another method name
# rubocop:disable Naming/AccessorMethodName
def get_migration_tuples
up_mts = []
down_mts = []
Expand All @@ -127,5 +129,6 @@ def get_migration_tuples
end
up_mts + down_mts.reverse
end
# rubocop:enable Naming/AccessorMethodName
end
end

0 comments on commit f4b0193

Please sign in to comment.