Class: Kudzu::Config::Delegator

Inherits:
Object
  • Object
show all
Defined in:
lib/kudzu/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Delegator

Returns a new instance of Delegator.


60
61
62
# File 'lib/kudzu/config.rb', line 60

def initialize(config)
  @config = config
end

Instance Method Details

#add_filter(base_url = nil, config = {}, &block) ⇒ Object


70
71
72
# File 'lib/kudzu/config.rb', line 70

def add_filter(base_url = nil, config = {}, &block)
  @config.add_filter(base_url, config, &block)
end