ruby / ruby/rbs

safe_dump function missing from Psych

Open
#2,518 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.2k
Forks
256
Avg merge
6d 17h
Merged PRs (30d)
37

Description

As experienced here: https://github.com/castwide/solargraph/issues/959

the safe_dump method is not found; According to a comment on the above issue, this is due to it missing from RBS; maybe other methods are also missing.

Could this be updated/fixed so all methods in Psych module are found/documented?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the RBS declarations for the Psych module with the Psych API and the linked Solargraph report, confirming why safe_dump is absent. Identify other missing Psych methods, add their signatures, and verify that the methods are found and documented through the relevant RBS checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.