Method: Fronde::Source#initialize
- Defined in:
- lib/fronde/source.rb
#initialize(source_config) ⇒ Source
Returns a new instance of Source.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fronde/source.rb', line 7 def initialize(source_config) @config = { 'recursive' => true, 'is_blog' => false, 'domain' => CONFIG.get('domain'), 'atom_feed' => '', 'org-options' => { 'section-numbers' => 'nil', 'with-toc' => 'nil' } }.merge(source_config) clean_config render_heading end |