Skip to content

Commit 15da0fc

Browse files
committed
adds rake console command
allows developer to start an irb session with the library preloaded
1 parent d6849bb commit 15da0fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Rakefile

+5
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,9 @@ YARD::Rake::YardocTask.new do |t|
99
# t.options = ['--any', '--extra', '--opts'] # optional
1010
end
1111

12+
desc "Open an irb session preloaded with this library"
13+
task :console do
14+
sh "irb -rubygems -I lib -r opentok.rb"
15+
end
16+
1217
task :default => :spec

0 commit comments

Comments
 (0)