diff --git a/share/svi/bootstrap.rb b/share/svi/bootstrap.rb new file mode 100644 index 0000000..ee2fe4f --- /dev/null +++ b/share/svi/bootstrap.rb @@ -0,0 +1,9 @@ +begin + load File.join(File.dirname(__FILE__), "svi.rb") +rescue Interrupt => e +rescue Exception => e + $stderr.puts "#{e.class}: #{e}" + e.backtrace.each do |entry| + $stderr.puts "> #{entry}" + end +end diff --git a/share/svi/svi.rb b/share/svi/svi.rb index a1675e5..4642b57 100644 --- a/share/svi/svi.rb +++ b/share/svi/svi.rb @@ -1,8 +1,2 @@ -begin -rescue Interrupt => e -rescue Exception => e - $stderr.puts "#{e.class}: #{e}" - e.backtrace.each do |entry| - $stderr.puts "> #{entry}" - end +module Svi end