Skip to content

Commit e9e8e77

Browse files
committed
* Disable a rubocop rule for a method overriding a parent method
1 parent d775de6 commit e9e8e77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/sequel_rails/migrations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ def initialize(db, directory, opts = OPTS)
105105

106106
private
107107

108+
# This is overriding parent method, no way to choose another method name
109+
# rubocop:disable Naming/AccessorMethodName
108110
def get_migration_tuples
109111
up_mts = []
110112
down_mts = []
@@ -127,5 +129,6 @@ def get_migration_tuples
127129
end
128130
up_mts + down_mts.reverse
129131
end
132+
# rubocop:enable Naming/AccessorMethodName
130133
end
131134
end

0 commit comments

Comments
 (0)