Fix Rubocop offenses

This commit is contained in:
Sebastian Serth
2023-12-25 14:01:09 +01:00
parent e81eaee2ba
commit 34c322f8c0
3 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ module CodeOcean
validates_with FileNameValidator, fields: %i[name path file_type_id]
ROLES.each do |role|
define_method("#{role}?") { self.role == role }
define_method(:"#{role}?") { self.role == role }
end
def read