Method: Inch::Config.for
- Defined in:
- lib/inch/config.rb
.for(language, path = nil) ⇒ Config::Base
Returns the Config object for a given language
. Optionally parses a given path
for inch.yml
37 38 39 40 41 |
# File 'lib/inch/config.rb', line 37 def for(language, path = nil) config = instance(language) config.codebase.update_via_yaml(path) if path config end |