Sha256: b1fb38229374583f459ccb5161e194dfc9f096a13b729f9a328b5832f4cb412b

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 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" }
require "#{this}/engine"

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

1 entries across 1 versions & 1 rubygems

Version Path
crawlable-0.0.1.8 lib/crawlable.rb