<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@
 * Usage examples in the README
 * Rakefile for docs/testing
 * Fixes bugs where return values were not Pathnames
+* Adds Pathname#glob
 
 == Version 1.2.3
 </diff>
      <filename>CHANGES</filename>
    </modified>
    <modified>
      <diff>@@ -144,7 +144,6 @@ class Pathname &lt; String
   #     &quot;/path/to&quot;
   #     &quot;/path/to/some&quot;
   #     &quot;/path/to/some/file&quot;
-
   #
   #   Pathname.new('a/relative/path').ascend {|path| p path }
   #     &quot;a&quot;
@@ -345,6 +344,13 @@ class Pathname
     end
   end
   
+  # See Dir::glob
+  def glob(pattern, flags = 0, &amp;block)
+    patterns = [pattern].flatten
+    patterns.map! {|p| self.class.glob(self.to_s + p, flags, &amp;block) }
+    patterns.flatten
+  end
+  
   # See Dir::chdir
   def chdir 
     blk = lambda { yield self } if block_given?</diff>
      <filename>lib/pathname3.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>35a16f7c84e081b097992d26da558970fd08a38a</id>
    </parent>
  </parents>
  <author>
    <name>Stephen Touset</name>
    <email>stephen@touset.org</email>
  </author>
  <url>http://github.com/stouset/pathname3/commit/73d39ecabc0d10969696a9799cd279b8bc00a8fe</url>
  <id>73d39ecabc0d10969696a9799cd279b8bc00a8fe</id>
  <committed-date>2008-06-11T13:03:17-07:00</committed-date>
  <authored-date>2008-06-11T13:03:17-07:00</authored-date>
  <message>Dir#glob added</message>
  <tree>5540447514f963cf5844e4933b19142fa61ddf87</tree>
  <committer>
    <name>Stephen Touset</name>
    <email>stephen@touset.org</email>
  </committer>
</commit>
