<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Totalling All of a Variable'</title>
    <description>Snipplr comments feed</description>
    <link>https://ipv6.snipplr.com/</link>
    <lastBuildDate>Wed, 22 Apr 2026 06:45:59 +0000</lastBuildDate>
    <item>
      <title>wackimonki said on 26/Feb/2007</title>
      <link>https://ipv6.snipplr.com/view/2217/totalling-all-of-a-variable</link>
      <description>&lt;p&gt;&lt;p&gt;A little explanation to how the code works.&lt;/p&gt;

&lt;p&gt;The method, sum, calls the block as often as it likes, with arguments. The block does something with the arguments and returns a value to the method.&lt;/p&gt;

&lt;p&gt;In this case, .sum method calls the block for each item, and the block returns the price for the item to the .sum method.&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Mon, 26 Feb 2007 19:36:02 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/2217/totalling-all-of-a-variable</guid>
    </item>
  </channel>
</rss>
