Skip to content

Commit

Permalink
chore(bin): Add bin/console for better DX (#1132)
Browse files Browse the repository at this point in the history
I wanted to try RDoc methods and noticed there's no `bin` dir.
This `bin/console` loads `doc/rdoc/markup_reference` for easy
testing and debugging.
  • Loading branch information
okuramasafumi authored Jul 6, 2024
1 parent d7bca12 commit 0482993
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env ruby

require 'bundler/setup'
require 'rdoc'

# This is the easy way to prepare various kinds of RDoc objects.
require_relative '../doc/rdoc/markup_reference'

require 'irb'
IRB.start(__FILE__)

0 comments on commit 0482993

Please sign in to comment.