Sha256: 2a1125b0d9eb005c0f32351c9a3225c4e50ffb01618083cb4cfff2e180811591
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 Bytes
Contents
ignore = [ 'sugarcube-all.rb', 'sugarcube-common.rb', 'sugarcube-classic.rb', 'sugarcube-osx.rb', 'sugarcube-legacy.rb', 'sugarcube-uicolor.rb', 'sugarcube-uiimage.rb', 'sugarcube-anonymous.rb', 'sugarcube-awesome.rb', 'sugarcube-unholy.rb', ] dirname = File.dirname(__FILE__) Dir.glob(File.join(dirname, '*.rb')).each do |file| file = File.basename(file) unless ignore.include? file file = File.join(dirname, file) require file end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-1.0.3 | lib/sugarcube-common.rb |
sugarcube-1.0.2 | lib/sugarcube-common.rb |
sugarcube-1.0.1 | lib/sugarcube-common.rb |
sugarcube-1.0.0 | lib/sugarcube-common.rb |