Skip to content

Commit

Permalink
Add singleton_method context query for Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
larrylv authored and lewis6991 committed Apr 27, 2023
1 parent 79f2758 commit 6efc51a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions queries/ruby/context.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
(body_statement) @context.end
) @context

(singleton_method
(body_statement) @context.end
) @context

(if
(then) @context.end
) @context
Expand Down

0 comments on commit 6efc51a

Please sign in to comment.