Sha256: 64aa36024d0b993121a8133c7e1487435392aebbdb21c9c155b975b9866a8e22
Contents?: true
Size: 675 Bytes
Versions: 4
Compression:
Stored size: 675 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 App.template == :ios exclude += [ 'sugarcube-appkit.rb', ] elsif App.template == :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.0 | lib/sugarcube-common.rb |
sugarcube-2.0.2 | lib/sugarcube-common.rb |
sugarcube-2.0.1 | lib/sugarcube-common.rb |
sugarcube-2.0.0 | lib/sugarcube-common.rb |