<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -893,6 +893,10 @@ class Module
   end
   
   def define_method(sym, &amp;block)
+    `this.prototype['m$'+sym.__value__]=block.__block__.__unbound__`
+    `Red.updateChildren(this)`
+    `Red.updateIncluders(this)`
+    return `block`
   end
   
   # call-seq:</diff>
      <filename>lib/source/ruby.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cc526786683b10c76fcb40275557ae13db6ea306</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Sielaff</name>
    <email>jesse.sielaff@gmail.com</email>
  </author>
  <url>http://github.com/jessesielaff/red/commit/568ac6fa423a559990c4270dff6529eb29aeddf6</url>
  <id>568ac6fa423a559990c4270dff6529eb29aeddf6</id>
  <committed-date>2008-11-15T20:25:12-08:00</committed-date>
  <authored-date>2008-11-15T20:25:12-08:00</authored-date>
  <message>Added Module#define_method.</message>
  <tree>7cb7127bf6dc9761b2835aaa92692a4216ee5b18</tree>
  <committer>
    <name>Jesse Sielaff</name>
    <email>jesse.sielaff@gmail.com</email>
  </committer>
</commit>
