Sha256: 05f2d5da60f7e92cc61c8fd8cf34af096591bcdfed3acf971bd6184e31cab99b
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
exclude = [ 'sugarcube-all.rb', 'sugarcube-common.rb', 'sugarcube-classic.rb', 'sugarcube-legacy.rb', 'sugarcube-uicolor.rb', 'sugarcube-uiimage.rb', 'sugarcube-spritekit.rb', 'sugarcube-568.rb', 'sugarcube-anonymous.rb', 'sugarcube-attributedstring.rb', 'sugarcube-awesome.rb', 'sugarcube-gestures.rb', 'sugarcube-pipes.rb', 'sugarcube-repl.rb', 'sugarcube-unholy.rb', ] if SugarCube.ios? exclude += [ 'sugarcube-appkit.rb', ] elsif SugarCube.osx? exclude += [ 'sugarcube-modal.rb', 'sugarcube-uikit.rb', ] end dirname = File.dirname(__FILE__) Dir.glob(File.join(dirname, '*.rb')).each do |file| filename = File.basename(file) unless exclude.include? filename require file end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-2.1.4 | lib/sugarcube-classic.rb |
sugarcube-2.1.3 | lib/sugarcube-classic.rb |
sugarcube-2.1.2 | lib/sugarcube-classic.rb |
sugarcube-2.1.1 | lib/sugarcube-classic.rb |