Skip to content

Commit

Permalink
Declare rdoc as dependency
Browse files Browse the repository at this point in the history
IRB already has several features that rely on rdoc, such as:

- Autocompletion's document dialog
- Autocompletion's `PerfectMatchedProc`
- The `show_doc` command
- Easter egg

And we could use its pager more in the future too. So it makes sense to
declare rdoc as a dependency instead of relying on the one bundled with
Ruby.
  • Loading branch information
st0012 committed Jul 17, 2023
1 parent 18bb402 commit 2e5a232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions irb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = Gem::Requirement.new(">= 2.7")

spec.add_dependency "reline", ">= 0.3.6"
spec.add_dependency "rdoc", "~> 6.5"
end

0 comments on commit 2e5a232

Please sign in to comment.