<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -24,14 +24,14 @@ irb&gt; Melons::Order
 You can also use an array of strings to construct an Enumeration:
 
 &lt;pre&gt;&lt;code&gt;
-  irb&gt; Colors = Enumeration.of %w{fuschia red bondi cerulean carnelian}
-  
-  irb&gt; Colors::BONDI
-  =&gt; :bondi
+irb&gt; Colors = Enumeration.of %w{fuschia red bondi cerulean carnelian}
+
+irb&gt; Colors::BONDI
+=&gt; :bondi
 &lt;/code&gt;&lt;/pre&gt;
 
-  
+
 h3. Author: 
 * &quot;Karlin Fox&quot;:http://www.atomicobject.com/pages/Karlin+Fox
-* &quot;Atomic Object&quot;:http://atomicobject.com
+* Atomic Object 
 * &quot;http://atomicobject.com&quot;:http://atomicobject.com</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,41 @@
+# = Enumeration
+# 
+# Between string and symbol array literals, hash literals, and constants in
+# modules or classes, Ruby users have plenty of options for enumeration
+# constructs. If you need more, try Enumeration.
+# 
+#   irb&gt; Melons = Enumeration.of :watermelon, :honeydew, :cantelope
+#   
+#   irb&gt; Melons::HONEYDEW
+#   =&gt; :honeydew
+#   
+#   irb&gt; Melons.enum
+#   =&gt; [:watermelon, :honeydew, :cantelope]
+#   
+#   irb&gt; Melons.to_s
+#   =&gt; [&quot;watermelon&quot;, &quot;honeydew&quot;, &quot;cantelope&quot;]
+#   
+#   irb&gt; Melons::Order
+#   =&gt; {:cantelope=&gt;2, :watermelon=&gt;0, :honeydew=&gt;1}
+#   
+# You can also use an array of strings to construct an Enumeration:
+# 
+#   irb&gt; Colors = Enumeration.of %w{fuschia red bondi cerulean carnelian}
+#   
+#   irb&gt; Colors::BONDI
+#   =&gt; :bondi
+#   
+# 
+# == Author: 
+# 
+# Karlin Fox
+# 
+# Atomic Object, http://atomicobject.com
+# 
 module Enumeration
-  def self.of(*values)
+  
+  # Create an enumeration module.  You can provide a list of strings or symbols, as arguments or in an array.
+  def self.of(*values)        
     if values[0].is_a? Array
       values = values[0]
     end
@@ -26,10 +62,12 @@ module Enumeration
     klass
   end
   
+  # Enumerate the values of an Enumeration as an array of symbols in definition order.
   def enum
     self.const_get(:Order).keys.sort_by {|x| self.const_get(:Order)[x]}
   end
 
+  # Enumerate the values of an Enumeration as an array of strings in definition order.
   def to_s
     self.enum.map {|x| x.to_s}
   end</diff>
      <filename>lib/enumeration.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>README.rdoc</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>1b4bb6b42a27c8e6be4abdefbdd33da6655b6611</id>
    </parent>
  </parents>
  <author>
    <name>karlin</name>
    <email>karlin@atomicobject.com</email>
  </author>
  <url>http://github.com/karlin/enumeration/commit/1d0f1e907b2fe7429a2dfb92c009c9f7eb0b5b35</url>
  <id>1d0f1e907b2fe7429a2dfb92c009c9f7eb0b5b35</id>
  <committed-date>2009-06-24T12:13:12-07:00</committed-date>
  <authored-date>2009-06-24T12:13:12-07:00</authored-date>
  <message>updated README and rdoc</message>
  <tree>eef75e02cc463c7220b066f024d6f52f79a85045</tree>
  <committer>
    <name>karlin</name>
    <email>karlin@atomicobject.com</email>
  </committer>
</commit>
