# Add outline support for Ruby singleton methods \(\#2592\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/fb83ab8e9f2be45f06a9ce26de79f87022b0230b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: fb83ab8e9f2be45f06a9ce26de79f87022b0230b

Requested commit: fb83ab8e9f2be45f06a9ce26de79f87022b0230b

Commit: fb83ab8e9f2be45f06a9ce26de79f87022b0230b

Tree: 271d41ab36ad10e32231816c95c026352a5cf383

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Add outline support for Ruby singleton methods (#2592)

This pull request add support for Ruby singleton methods in the document
outline.

**Before**

<img width="1490" alt="outline-before"
src="https://github.com/zed-industries/zed/assets/503025/e90afd4c-bcdd-477b-92cf-fe34cec54980">

**After**

<img width="1493" alt="outline-after"
src="https://github.com/zed-industries/zed/assets/503025/067cc80b-7718-4395-9079-4677a689b9be">

Release Notes:

- Added support for singleton methods in Ruby outline view. Fixed
[#1442](https://github.com/zed-industries/community/issues/1442).
```

## Parents

- [738b06a778699feb3015b313c15868104546f642](https://git.cafe/gitcafe/zed/commit/738b06a778699feb3015b313c15868104546f642?format=markdown)

- [57ff173e297be5331a0408f5144b17d8c3cad0b2](https://git.cafe/gitcafe/zed/commit/57ff173e297be5331a0408f5144b17d8c3cad0b2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/fb83ab8e9f2be45f06a9ce26de79f87022b0230b?format=markdown)
