Module: WebCrawler::Configurable::ClassMethods

Defined in:
lib/web_crawler/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configObject



81
82
83
# File 'lib/web_crawler/configuration.rb', line 81

def config
  @config ||= Configuration.new
end

#configure(&block) ⇒ Object



77
78
79
# File 'lib/web_crawler/configuration.rb', line 77

def configure(&block)
  module_eval(&block)
end