docs/Html2rss/Item.html in html2rss-0.4.0 vs docs/Html2rss/Item.html in html2rss-0.4.1
- old
+ new
@@ -422,19 +422,19 @@
<tr>
<td>
<pre class="lines">
-48
-49
-50
51
52
-53</pre>
+53
+54
+55
+56</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/html2rss/item.rb', line 48</span>
+ <pre class="code"><span class="info file"># File 'lib/html2rss/item.rb', line 51</span>
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_url'>from_url</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span>
<span class='id identifier rubyid_page'>page</span> <span class='op'>=</span> <span class='const'>Nokogiri</span><span class='op'>::</span><span class='const'>HTML</span><span class='lparen'>(</span><span class='id identifier rubyid_get_body_from_url'>get_body_from_url</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span><span class='rparen'>)</span>
<span class='id identifier rubyid_page'>page</span><span class='period'>.</span><span class='id identifier rubyid_css'>css</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_selector'>selector</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>items</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_xml_item'>xml_item</span><span class='op'>|</span>
<span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_xml_item'>xml_item</span><span class='comma'>,</span> <span class='id identifier rubyid_config'>config</span>
@@ -520,17 +520,23 @@
<pre class="lines">
42
43
-44</pre>
+44
+45
+46
+47</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/html2rss/item.rb', line 42</span>
<span class='kw'>def</span> <span class='id identifier rubyid_categories'>categories</span>
- <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_categories'>categories</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_method'>method</span><span class='lparen'>(</span><span class='symbol'>:method_missing</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span><span class='period'>.</span><span class='id identifier rubyid_keep_if'>keep_if</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_category'>category</span><span class='op'>|</span> <span class='id identifier rubyid_category'>category</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
+ <span class='id identifier rubyid_categories'>categories</span> <span class='op'>=</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_categories'>categories</span>
+ <span class='id identifier rubyid_categories'>categories</span><span class='period'>.</span><span class='id identifier rubyid_map!'>map!</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_method'>method</span><span class='lparen'>(</span><span class='symbol'>:method_missing</span><span class='rparen'>)</span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_categories'>categories</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
+ <span class='id identifier rubyid_categories'>categories</span><span class='period'>.</span><span class='id identifier rubyid_keep_if'>keep_if</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_category'>category</span><span class='op'>|</span> <span class='id identifier rubyid_category'>category</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -642,10 +648,10 @@
</div>
</div>
<div id="footer">
- Generated on Sun Jul 14 19:35:05 2019 by
+ Generated on Wed Sep 18 12:52:16 2019 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.20 (ruby-2.6.3).
</div>
</div>
\ No newline at end of file