Sha256: ae0ebbadbdd5e22726b11de2a2f2ebed71dc027acd89c179cfab53149e008c99
Contents?: true
Size: 228 Bytes
Versions: 4
Compression:
Stored size: 228 Bytes
Contents
#coding: utf-8 require 'wombat/crawler' module Wombat class << self def crawl(&block) klass = Class.new klass.send(:include, Wombat::Crawler) klass.new.crawl(&block) end alias_method :scrape, :crawl end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wombat-2.1.1 | lib/wombat.rb |
wombat-2.1.0 | lib/wombat.rb |
wombat-2.0.1 | lib/wombat.rb |
wombat-2.0.0 | lib/wombat.rb |