doc/api/classes/ERBook/Document.html in erbook-9.0.0 vs doc/api/classes/ERBook/Document.html in erbook-9.1.0
- old
+ new
@@ -47,20 +47,20 @@
<dt>N</dt>
<dd>
<ul>
- <li><a href="#M000046">new</a></li>
+ <li><a href="#M000049">new</a></li>
</ul>
</dd>
<dt>T</dt>
<dd>
<ul>
- <li><a href="#M000054">to_s</a></li>
+ <li><a href="#M000062">to_s</a></li>
</ul>
</dd>
</dl>
@@ -130,13 +130,13 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
- <div class="title" id="M000046">
+ <div class="title" id="M000049">
- <a name="M000046"></a><b>new</b>(format_name, input_text, input_file, options = {})
+ <a name="M000049"></a><b>new</b>(format_name, input_text, input_file, options = {})
</div>
<div class="description">
<h4>Parameters</h4>
@@ -164,16 +164,16 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show</a>
+ Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L42" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000046_source" class="dyn-source">
+ <div id="M000049_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 42</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">format_name</span>, <span class="ruby-identifier">input_text</span>, <span class="ruby-identifier">input_file</span>, <span class="ruby-identifier">options</span> = {}
<span class="ruby-comment cmt"># process format specification</span>
<span class="ruby-ivar">@format_file</span> = <span class="ruby-identifier">format_name</span>.<span class="ruby-identifier">to_s</span>
@@ -379,13 +379,13 @@
</div>
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
- <div class="title" id="M000054">
+ <div class="title" id="M000062">
- <a name="M000054"></a><b>to_s</b>()
+ <a name="M000062"></a><b>to_s</b>()
</div>
<div class="description">
<p>
@@ -397,15 +397,15 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
+ Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L246" target="_blank" class="github_url">on GitHub</a>
</p>
- <div id="M000054_source" class="dyn-source">
+ <div id="M000062_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 246</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-constant">Template</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"#{@format_file}:output"</span>, <span class="ruby-ivar">@format</span>[<span class="ruby-value str">'output'</span>].<span class="ruby-identifier">to_s</span>).
<span class="ruby-identifier">render_with</span>(<span class="ruby-ivar">@template_vars</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">:@content</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@processed_document</span>.<span class="ruby-identifier">join</span>))
<span class="ruby-keyword kw">end</span></pre>
\ No newline at end of file