lib/irbtools/more.rb in irbtools-more-0.3.1 vs lib/irbtools/more.rb in irbtools-more-0.3.2
- old
+ new
@@ -2,11 +2,11 @@
standalone = !(defined? Irbtools)
# define version
module Irbtools
module More
- PACKAGE_VERSION = ( File.read File.expand_path( '../../VERSION', File.dirname(__FILE__)) ).chomp
+ VERSION = ( File.read File.expand_path( '../../VERSION', File.dirname(__FILE__)) ).chomp
end
end
# require base package
if standalone
@@ -16,16 +16,16 @@
raise "Sorry, the irbtools-more package couldn't load, because the irbtools gem is not available"
end
end
# irbtools-more libraries
-Irbtools.add_library :drx
-Irbtools.add_library :bond do
+Irbtools.add_library :drx, :thread => 'more_1'
+Irbtools.add_library :bond, :thread => 'more_2' do
Bond.start :gems => %w[irbtools]
end
# load now
if standalone
- Irbtools.init
+ Irbtools.start
end
# J-_-L