Module: Wrongdoc
- Defined in:
- lib/wrongdoc.rb
Defined Under Namespace
Modules: Changelog, Gemspec, History, NewsAtom, NewsRdoc, ParseXML, RdocOptions, Readme, Release Classes: Final, Merge, Prepare, Rdoc
Class Method Summary collapse
Class Method Details
.config(path = ".wrongdoc.yml") ⇒ Object
26 27 28 29 30 31 |
# File 'lib/wrongdoc.rb', line 26 def self.config(path = ".wrongdoc.yml") File.exist?(path) or abort "#{path} not found in current directory" opts = YAML.load(File.read(path)) opts.keys.each { |k| opts[k.to_sym] = opts.delete(k) } # symbolize keys opts end |