Sha256: 7ab1178d01e30430e74cd6f05557a3761fa66d555cef3e87593c3f3a920d3aaf
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require File.join(File.dirname(__FILE__), 'sugarcube-core.rb') module SugarCube module_function def ios_only!(package) unless App.template.to_s =~ /ios/ raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on iOS." end end def osx_only!(package) unless App.template.to_s == /osx/ raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on OS X." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-2.1.0 | lib/sugarcube.rb |