Module: Yasf

Defined in:
lib/yasf.rb,
lib/yasf/scraper.rb,
lib/yasf/version.rb

Defined Under Namespace

Classes: Scraper

Constant Summary collapse

VERSION =
"0.0.6"

Class Method Summary collapse

Class Method Details

.define(&block) ⇒ Object



8
9
10
11
12
# File 'lib/yasf.rb', line 8

def define(&block)
  kls = Class.new(Scraper)
  kls.module_eval &block if block_given?
  return kls
end