Sha256: ca5f6209c2ee114b113b4d1ae94d56f9209d2df639ef42867b0083247f31196c

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 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|
        require rb
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bowl-0.0.2 lib/bowl/app/bootstrap.rb
bowl-0.0.1 lib/bowl/app/bootstrap.rb