doc/classes/Kernel.html in configatron-1.2.2 vs doc/classes/Kernel.html in configatron-2.0.0

- old
+ new

@@ -78,11 +78,11 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000021">configatron</a>&nbsp;&nbsp; + <a href="#M000015">configatron</a>&nbsp;&nbsp; </div> </div> </div> @@ -100,38 +100,31 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000021" class="method-detail"> - <a name="M000021"></a> + <div id="method-M000015" class="method-detail"> + <a name="M000015"></a> <div class="method-heading"> - <a href="#M000021" class="method-signature"> - <span class="method-name">configatron</span><span class="method-args">(&amp;block)</span> + <a href="#M000015" class="method-signature"> + <span class="method-name">configatron</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -If called without a block it will return the <a -href="Configatron/Configuration.html">Configatron::Configuration</a> -instance. If called with a block then it will call the -Configatron::Configatron configure method and yield up a <a -href="Configatron/Store.html">Configatron::Store</a> object. +Provides access to the <a href="Configatron.html">Configatron</a> storage +system. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000021-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000021-source"> + onclick="toggleCode('M000015-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000015-source"> <pre> - <span class="ruby-comment cmt"># File lib/configatron/kernel.rb, line 6</span> - 6: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configatron</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) - 7: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span> - 8: <span class="ruby-constant">Configatron</span><span class="ruby-operator">::</span><span class="ruby-constant">Configuration</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">configure</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) - 9: <span class="ruby-keyword kw">else</span> -10: <span class="ruby-constant">Configatron</span><span class="ruby-operator">::</span><span class="ruby-constant">Configuration</span>.<span class="ruby-identifier">instance</span> -11: <span class="ruby-keyword kw">end</span> -12: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File lib/configatron/kernel.rb, line 4</span> +4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configatron</span> +5: <span class="ruby-constant">Configatron</span>.<span class="ruby-identifier">instance</span> +6: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> \ No newline at end of file