Sha256: 56e577a3ad89042e29536aa688f72873e6db39c61ba93abc3c53e750e9edd3ca

Contents?: true

Size: 580 Bytes

Versions: 26

Compression:

Stored size: 580 Bytes

Contents

require 'sugarcube'

exclude = [
  'sugarcube-all.rb',
  'sugarcube-common.rb',
  'sugarcube-classic.rb',
  'sugarcube-legacy.rb',
  'sugarcube-uicolor.rb',
  'sugarcube-uiimage.rb',
]

if SugarCube.ios?
  exclude += [
    'sugarcube-appkit.rb',
  ]
elsif SugarCube.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

26 entries across 26 versions & 1 rubygems

Version Path
sugarcube-3.0.0 lib/sugarcube-all.rb
sugarcube-2.12.3 lib/sugarcube-all.rb
sugarcube-2.12.2 lib/sugarcube-all.rb
sugarcube-2.12.1 lib/sugarcube-all.rb
sugarcube-2.12.0 lib/sugarcube-all.rb
sugarcube-2.11.1 lib/sugarcube-all.rb
sugarcube-2.11.0 lib/sugarcube-all.rb
sugarcube-2.10.0 lib/sugarcube-all.rb
sugarcube-2.9.1 lib/sugarcube-all.rb
sugarcube-2.8.2 lib/sugarcube-all.rb
sugarcube-2.8.1 lib/sugarcube-all.rb
sugarcube-2.8.0 lib/sugarcube-all.rb
sugarcube-2.7.1 lib/sugarcube-all.rb
sugarcube-2.7.0 lib/sugarcube-all.rb
sugarcube-2.6.0 lib/sugarcube-all.rb
sugarcube-2.5.0 lib/sugarcube-all.rb
sugarcube-2.4.2 lib/sugarcube-all.rb
sugarcube-2.4.1 lib/sugarcube-all.rb
sugarcube-2.4.0 lib/sugarcube-all.rb
sugarcube-2.3.0 lib/sugarcube-all.rb