<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -783,7 +783,34 @@ The call +str.last(n)+ is equivalent to +str.from(-n)+ if +n+ &gt; 0, and returns a
 
 h3. Extensions to +Numeric+
 
-...
+h4. Bytes
+
+All numbers respond to these methods:
+
+&lt;ruby&gt;
+bytes
+kilobytes
+megabytes
+gigabytes
+terabytes
+petabytes
+exabytes
+&lt;/ruby&gt;
+
+They return the corresponding amount of bytes, using a conversion factor of 1024:
+
+&lt;ruby&gt;
+2.kilobytes   # =&gt; 2048
+3.megabytes   # =&gt; 3145728
+3.5.gigabytes # =&gt; 3758096384
+-4.exabytes   # =&gt; -4611686018427387904
+&lt;/ruby&gt;
+
+Singular forms are aliased so you are able to say:
+
+&lt;ruby&gt;
+1.megabyte # =&gt; 1024
+&lt;/ruby&gt;
 
 h3. Extensions to +Integer+
 </diff>
      <filename>railties/guides/source/active_support_core_extensions.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>106b78d2efb39d8ea347e141eced61b70ca52618</id>
    </parent>
  </parents>
  <author>
    <name>Xavier Noria</name>
    <email>fxn@hashref.com</email>
  </author>
  <url>http://github.com/lifo/docrails/commit/738fd3d4a64c13523ce607357deae45d2f9a0ab5</url>
  <id>738fd3d4a64c13523ce607357deae45d2f9a0ab5</id>
  <committed-date>2009-11-01T10:50:21-08:00</committed-date>
  <authored-date>2009-11-01T10:50:21-08:00</authored-date>
  <message>AS guide: documents Numeric#bytes and friends</message>
  <tree>0bb42c7e715ec678d0e7ebbfe90d2a4fa064facf</tree>
  <committer>
    <name>Xavier Noria</name>
    <email>fxn@hashref.com</email>
  </committer>
</commit>
