Sha256: cb9a245835932db4e423804f3e8d8d15cf71e7cf88e27c72a9d798b9bc070096
Contents?: true
Size: 710 Bytes
Versions: 23
Compression:
Stored size: 710 Bytes
Contents
require 'sugarcube' exclude = [ 'sugarcube-all.rb', 'sugarcube-common.rb', 'sugarcube-classic.rb', 'sugarcube-legacy.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', 'sugarcube-appkit.rb', 'sugarcube-uikit.rb', ] if SugarCube.ios? exclude += [ ] elsif SugarCube.osx? exclude += [ 'sugarcube-modal.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
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-3.0.4 | lib/sugarcube-classic.rb |
sugarcube-3.0.3 | lib/sugarcube-classic.rb |
sugarcube-3.0.2 | lib/sugarcube-classic.rb |