<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,8 +22,14 @@ class Shapefile
     end
   end
   
-  def self.open(path_prefix)
-    new(path_prefix)
+  def self.open(shp, shx = nil, dbf = nil)
+    new(shp, shx, dbf)
+  end
+  
+  def shapes
+    result = []
+    each_shape {|shape| result &lt;&lt; shape}
+    result
   end
   
   def each_shape(&amp;block)</diff>
      <filename>lib/shapefile.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>156aaf78cae859c8caab713c6857e4d303cca78e</id>
    </parent>
  </parents>
  <author>
    <name>Dana Contreras</name>
    <email>dana@danadanger.org</email>
  </author>
  <url>http://github.com/DanaDanger/shapely/commit/b3dfc9a3bd9fc3cbfa841a8498e512fb1f292abd</url>
  <id>b3dfc9a3bd9fc3cbfa841a8498e512fb1f292abd</id>
  <committed-date>2009-06-25T12:27:23-07:00</committed-date>
  <authored-date>2009-06-25T12:27:23-07:00</authored-date>
  <message>fixed number of args in Shapefile.open and added Shapefile#shapes</message>
  <tree>300c956fca60dc9ee0341d34c0ed50c6aa66ca6e</tree>
  <committer>
    <name>Dana Contreras</name>
    <email>dana@danadanger.org</email>
  </committer>
</commit>
