<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/yard/generators/allocator_generator.rb</filename>
    </added>
    <added>
      <filename>templates/default/allocator/html/header.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -47,6 +47,7 @@ module YARD
       autoload :UMLHelper,                  __p('generators/helpers/uml_helper')
     end
     
+    autoload :AllocatorGenerator,       __p('generators/allocator_generator')
     autoload :AttributesGenerator,      __p('generators/attributes_generator')
     autoload :Base,                     __p('generators/base')
     autoload :ClassGenerator,           __p('generators/class_generator')</diff>
      <filename>lib/yard/autoload.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,6 +14,7 @@ module YARD
             G(TagsGenerator),
             G(AttributesGenerator), 
             G(ConstantsGenerator),
+            G(AllocatorGenerator),
             G(ConstructorGenerator),
             G(MethodMissingGenerator),
             G(VisibilityGroupGenerator, :visibility =&gt; :public),</diff>
      <filename>lib/yard/generators/class_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,6 +14,8 @@ class Foo
 
   # Docstring
   def String :: hello; &quot;&quot; end
+  
+  def self.new() end
 
   def [](key = 'default') puts key end
   def []=(key, value) end</diff>
      <filename>spec/handlers/examples/method_handler_001.rb.txt</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,10 @@ describe &quot;YARD::Handlers::Ruby::#{RUBY18 ? &quot;Legacy::&quot; : &quot;&quot;}MethodHandler&quot; do
     end
   end
   
+  it &quot;should allow self.methname&quot; do
+    Registry.at(&quot;Foo.new&quot;).should_not be_nil
+  end
+  
   it &quot;should mark dynamic methods as such&quot; do
     P('Foo#dynamic').dynamic?.should == true
   end</diff>
      <filename>spec/handlers/method_handler_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8f1d67cf62f4b28899c3854a0d704743b4412a7d</id>
    </parent>
  </parents>
  <author>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </author>
  <url>http://github.com/lsegal/yard/commit/cd5d56248a1785f06ef9ea4ab93cce7b124fcde4</url>
  <id>cd5d56248a1785f06ef9ea4ab93cce7b124fcde4</id>
  <committed-date>2009-10-09T10:33:48-07:00</committed-date>
  <authored-date>2009-10-09T10:33:48-07:00</authored-date>
  <message>Add templates for Klass.new method</message>
  <tree>ef99cc170ca354c96b3f40dd43d57f052c162e02</tree>
  <committer>
    <name>Loren Segal</name>
    <email>lsegal@soen.ca</email>
  </committer>
</commit>
