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-4.0.0 lib/sugarcube-classic.rb
sugarcube-3.5.0 lib/sugarcube-classic.rb
sugarcube-3.4.2 lib/sugarcube-classic.rb
sugarcube-3.4.1 lib/sugarcube-classic.rb
sugarcube-3.4.0 lib/sugarcube-classic.rb
sugarcube-3.3.7 lib/sugarcube-classic.rb
sugarcube-3.3.6 lib/sugarcube-classic.rb
sugarcube-3.3.5 lib/sugarcube-classic.rb
sugarcube-3.3.4 lib/sugarcube-classic.rb
sugarcube-3.3.3 lib/sugarcube-classic.rb
sugarcube-3.3.2 lib/sugarcube-classic.rb
sugarcube-3.3.1 lib/sugarcube-classic.rb
sugarcube-3.3.0 lib/sugarcube-classic.rb
sugarcube-3.2.0 lib/sugarcube-classic.rb
sugarcube-3.1.1 lib/sugarcube-classic.rb
sugarcube-3.1.0 lib/sugarcube-classic.rb
sugarcube-3.0.8 lib/sugarcube-classic.rb
sugarcube-3.0.7 lib/sugarcube-classic.rb
sugarcube-3.0.6 lib/sugarcube-classic.rb
sugarcube-3.0.5 lib/sugarcube-classic.rb