Sha256: f2d17836d2ed1fc4483e2237a29628fd9ade07ff0f9bf32521784e155b35da26
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 Bytes
Contents
exclude = [ 'sugarcube-all.rb', 'sugarcube-common.rb', 'sugarcube-classic.rb', 'sugarcube-legacy.rb', 'sugarcube-uicolor.rb', 'sugarcube-uiimage.rb', 'sugarcube-anonymous.rb', 'sugarcube-awesome.rb', 'sugarcube-pipes.rb', 'sugarcube-unholy.rb', ] if SugarCube.ios? exclude += [ 'sugarcube-appkit.rb', ] elsif SugarCube.osx? exclude += [ 'sugarcube-568.rb', 'sugarcube-gestures.rb', '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-common.rb |
sugarcube-2.1.3 | lib/sugarcube-common.rb |
sugarcube-2.1.2 | lib/sugarcube-common.rb |
sugarcube-2.1.1 | lib/sugarcube-common.rb |