Sha256: a31a30b92dde0540562984c3b7c88175e7015463e3362fa9b2f5e831ee5d6285
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
require 'rubygems' require 'active_support' require 'active_record' require 'nokogiri' require 'open-uri' this = File.dirname(__FILE__) Dir["#{this}/crawlable/*"].each { |c| require c if File.extname(c) == ".rb" } def Sitemap(*args, &block) Crawlable::Sitemap.define!(*args, &block) end def Feed(*args, &block) Crawlable::Feed.define!(*args, &block) end def Crawlable(type, *args, &block) type.to_s.constantize(*args, &block) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crawlable-0.0.1.7 | lib/crawlable.rb |
crawlable-0.0.1.6 | lib/crawlable.rb |