Class: WebCrawler::Configuration

Inherits:
BaseConfiguration show all
Defined in:
lib/web_crawler/configuration.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseConfiguration

#config, #initialize, #respond_to?

Constructor Details

This class inherits a constructor from WebCrawler::BaseConfiguration

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class WebCrawler::BaseConfiguration

Instance Attribute Details

#cache(&block) ⇒ Object

Returns the value of attribute cache.



34
35
36
# File 'lib/web_crawler/configuration.rb', line 34

def cache
  @cache
end

#cache_adapterObject

Returns the value of attribute cache_adapter.



34
35
36
# File 'lib/web_crawler/configuration.rb', line 34

def cache_adapter
  @cache_adapter
end

#log_levelObject

Returns the value of attribute log_level.



34
35
36
# File 'lib/web_crawler/configuration.rb', line 34

def log_level
  @log_level
end

#loggerObject

Returns the value of attribute logger.



34
35
36
# File 'lib/web_crawler/configuration.rb', line 34

def logger
  @logger
end

#rootObject

Returns the value of attribute root.



34
35
36
# File 'lib/web_crawler/configuration.rb', line 34

def root
  @root
end