Module: OmgPullRequest::Configuration::Helpers

Included in:
GitClient, GithubWrapper, Prowl, TestRunner::Base
Defined in:
lib/omg_pull_request/configuration.rb

Instance Method Summary collapse

Instance Method Details

#delegate_config_to(config, *attrs) ⇒ Object



53
54
55
56
57
58
59
# File 'lib/omg_pull_request/configuration.rb', line 53

def delegate_config_to(config, *attrs)
  attrs.each do |attr|
    define_method attr do
      self.send(config).send(attr)
    end
  end
end