Sha256: 950770fa1a5d1e6cd2337659ff58a90394458af95f70147b4be970e59840f922
Contents?: true
Size: 652 Bytes
Versions: 2
Compression:
Stored size: 652 Bytes
Contents
# check if loaded_directly to decide if Irbtools.init should be called standalone = !(defined? Irbtools) # define version module Irbtools module More PACKAGE_VERSION = ( File.read File.expand_path( '../../VERSION', File.dirname(__FILE__)) ).chomp end end # require base package if standalone begin require 'irbtools/configure' rescue LoadError 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 Bond.start :gems => %w[irbtools] end # load now if standalone Irbtools.init end # J-_-L
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
irbtools-more-0.3.1 | lib/irbtools/more.rb |
irbtools-more-0.3.0 | lib/irbtools/more.rb |