8000 Quickly fire up a console with 'zip' pre-loaded. · rubyzip/rubyzip@b04bbae · GitHub
[go: up one dir, main page]

Skip to content

Commit b04bbae

Browse files
committed
Quickly fire up a console with 'zip' pre-loaded.
1 parent 247fd43 commit b04bbae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/console

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env ruby
2+
3+
lib = File.expand_path(File.join('..', 'lib'), __dir__)
4+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5+
require 'zip'
6+
7+
require 'irb'
8+
IRB.start(__FILE__)

0 commit comments

Comments
 (0)
0