Apply Rubocop Performance/StringIdentifierArgument (#23444)
This commit is contained in:
@ -28,7 +28,7 @@ class ScopeTransformer < Parslet::Transform
|
||||
def merge!(other_scope)
|
||||
raise ArgumentError unless other_scope.namespace == namespace && other_scope.term == term
|
||||
|
||||
@access.concat(other_scope.instance_variable_get('@access'))
|
||||
@access.concat(other_scope.instance_variable_get(:@access))
|
||||
@access.uniq!
|
||||
@access.sort!
|
||||
|
||||
|
Reference in New Issue
Block a user