Sha256: 145f227a1f2329aca2d995fbd23e111c83d98a40aee48bead0c327ebd189f79f
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
# just a gem hook Motion::Project::App.instance_eval do alias :setup_before_under_os :setup def setup(*args, &block) config.setup_blocks << proc do |app| Dir.glob(File.dirname(__FILE__) + '/**/*.rb').reverse.each do |file| app.files.insert(0, file) if file != __FILE__ end end setup_before_under_os *args, &block end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
under-os-0.0.0 | lib/under-os.rb |