Skip to content

Commit f98c43c

Browse files
committed
chore(bin): Add bin/console for better DX
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.
1 parent 4b84660 commit f98c43c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bin/console

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env ruby
2+
3+
require 'bundler/setup'
4+
require 'rdoc'
5+
6+
# This is the easy way to prepare various kinds of RDoc objects.
7+
require_relative '../doc/rdoc/markup_reference'
8+
9+
require 'irb'
10+
IRB.start(__FILE__)

0 commit comments

Comments
 (0)