lib/crawlable.rb in crawlable-0.0.1.7 vs lib/crawlable.rb in crawlable-0.0.1.8
- old
+ new
@@ -4,9 +4,10 @@
require 'nokogiri'
require 'open-uri'
this = File.dirname(__FILE__)
Dir["#{this}/crawlable/*"].each { |c| require c if File.extname(c) == ".rb" }
+require "#{this}/engine"
def Sitemap(*args, &block)
Crawlable::Sitemap.define!(*args, &block)
end
\ No newline at end of file