Skip to content

Instantly share code, notes, and snippets.

@kemiller
Created July 14, 2013 20:15
Show Gist options
  • Save kemiller/5995766 to your computer and use it in GitHub Desktop.
Save kemiller/5995766 to your computer and use it in GitHub Desktop.
Gem converted for rubymotion.
includes = %w(dns_guru/matcher dns_guru/pattern dns_guru/request_mixin dns_guru/controller_mixin)
if defined?(Motion::Project::App)
Motion::Project::App.setup do |app|
includes.each do |file|
app.files << File.join(File.dirname(__FILE__), file)
end
end
else
require 'dns_guru/matcher'
require 'dns_guru/pattern'
require 'dns_guru/request_mixin'
require 'dns_guru/controller_mixin'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment