Skip to content
instance method

Prism::HashPatternNode#closing_loc

closing_loc

The location of the closing brace.

foo => { a: 1 }
              ^

foo => Bar[a: 1]
               ^