Sha256: 997d839aed9abdca4a92909ae06b51f1b80869b9467a3a50c242b215d947d0e0
Contents?: true
Size: 628 Bytes
Versions: 23
Compression:
Stored size: 628 Bytes
Contents
require 'sugarcube' exclude = [ 'sugarcube-all.rb', 'sugarcube-common.rb', 'sugarcube-classic.rb', 'sugarcube-legacy.rb', 'sugarcube-anonymous.rb', 'sugarcube-awesome.rb', 'sugarcube-pipes.rb', 'sugarcube-unholy.rb', 'sugarcube-appkit.rb', 'sugarcube-uikit.rb', ] if SugarCube.ios? exclude += [ ] elsif SugarCube.osx? exclude += [ 'sugarcube-568.rb', 'sugarcube-gestures.rb', '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