Skip to content

add the ability to update leading and trailing comments#6

Open
adrienpoly wants to merge 1 commit intowantedly:masterfrom
adrienpoly:update-comments
Open

add the ability to update leading and trailing comments#6
adrienpoly wants to merge 1 commit intowantedly:masterfrom
adrienpoly:update-comments

Conversation

@adrienpoly
Copy link

Why

Thanks for this gem it is very helpful. At RubyVideo we manipulate lot's of yml files and being able to mutate them while preserving comment is great.

We encountered cases where we also would need to update current comments.

What

This PR add setters for the leading and trailing comments

adrienpoly added a commit to adrienpoly/psych-comments that referenced this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant