Collect up expand_tabs implementations
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 930
- Forks
- 465
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 27
Description
There is an hard tab(s) to spaces implementation in similar to RDoc::Text#expand_tabs. I think it should be collected up, but @drbrain said,
Too bad expand_tab doesn't support
@options.tab_width
And RDoc::Text#expand_tabs doesn't fit for other one's namespace.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked implementations and the existing RDoc::Text#expand_tabs entry point in lib/rdoc/text.rb, including how @options.tab_width is handled. Identify the appropriate shared location and callers for collecting the implementations, then verify that the collected behavior remains usable across namespaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100