diff options
author | git <[email protected]> | 2024-10-16 18:22:44 +0000 |
---|---|---|
committer | git <[email protected]> | 2024-10-16 18:22:44 +0000 |
commit | 78fb1ab84b78596fac6a219c66c1d897aba346bb (patch) | |
tree | c97bfd53a05c9f4405148a23db2ef2d794193b3b | |
parent | 9251971335ded7d1eb196f79648fdf12f1208954 (diff) |
* remove trailing spaces. [ci skip]
-rw-r--r-- | sample/prism/multiplex_constants.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sample/prism/multiplex_constants.rb b/sample/prism/multiplex_constants.rb index 5234292dfa..e39f2c36f6 100644 --- a/sample/prism/multiplex_constants.rb +++ b/sample/prism/multiplex_constants.rb @@ -11,23 +11,23 @@ module Indexer # field_name pairs so that they can be written back to the parent process. class Repository attr_reader :scope, :entries - + def initialize @scope = [] @entries = [] end - + def with(next_scope) previous_scope = scope @scope = scope + next_scope yield @scope = previous_scope end - + def empty? entries.empty? end - + def enter(node_id, field_name) entries << [scope.join("::"), node_id, field_name] end |