ryanlntn/medic

View on GitHub
lib/medic.rb

Summary

Maintainability
A
0 mins
Test Coverage
unless defined?(Motion::Project::Config)
  raise "This file must be required within a RubyMotion project Rakefile."
end

lib_dir_path = File.dirname(File.expand_path(__FILE__))
Motion::Project::App.setup do |app|
  app.files.unshift(Dir.glob(File.join(lib_dir_path, "medic/**/*.rb")))
end