Sha256: 8d4b212a48ed746ada2460354514ec3acde32693dffb656fe97666b98f0e8453
Contents?: true
Size: 263 Bytes
Versions: 1
Compression:
Stored size: 263 Bytes
Contents
class Bootstrap def self.default [] end def self.init(*inits) [default, inits].flatten.uniq.each do |cat| Dir.glob("#{File.dirname(__FILE__)}/#{cat}/*.rb").each do |rb| puts "load #{rb}" require rb end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-cometio-0.0.1 | sample/bootstrap.rb |