ruby / ruby/pathname

Please consider adding Pathname.home

Open
#37 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
32
Forks
24
Avg merge
13h 2m
Merged PRs (30d)
1

Description

Please consider adding Pathname.home for symmetry with Dir.home but returning a Pathname instead of a String, and to avoid having to use Pathname.new(Dir.home).

Contributor guide

No contributing guide indexed for this repository

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 existing Pathname API with Dir.home and inspect the repository's current tests for related constructors or class methods. Done means Pathname.home is available, returns a Pathname rather than a String, and avoids requiring callers to wrap Dir.home with Pathname.new.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.