<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -94,4 +94,30 @@ describe &quot;The super keyword&quot; do
     sub.new.b.should == &quot;b&quot;
     sub.new.a.should == &quot;a&quot;
   end
+
+  ruby_version_is &quot;&quot;...&quot;1.9&quot; do
+    it &quot;can be used with implicit arguments from a method defined with define_method&quot; do
+      sup = Class.new do
+        def a; &quot;a&quot;; end
+      end
+
+      sub = Class.new(sup) do
+        define_method :a do
+          super
+        end
+      end
+
+      sub.new.a.should == &quot;a&quot;
+    end
+  end
+
+  ruby_version_is &quot;1.9&quot; do
+    it &quot;can't be used with implicit arguments from a method defined with define_method&quot; do
+      Class.new do
+        define_method :a do
+          super
+        end.should raise_error(RuntimeError) 
+      end
+    end
+  end
 end</diff>
      <filename>language/super_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>24d5364722f2b69ba411f325e0a92c5136886b6a</id>
    </parent>
  </parents>
  <author>
    <name>Run Paint Run Run</name>
    <email>runrun@runpaint.org</email>
  </author>
  <url>http://github.com/rubyspec/rubyspec/commit/91f73c887706cd54e0b6f15c9e3b999b72f01a92</url>
  <id>91f73c887706cd54e0b6f15c9e3b999b72f01a92</id>
  <committed-date>2009-07-09T17:57:40-07:00</committed-date>
  <authored-date>2009-07-09T17:57:40-07:00</authored-date>
  <message>super: Clarify behaviour for implicit form from define_method</message>
  <tree>a33fd15921e1aaf8cb355ce6608d2fba213fcc74</tree>
  <committer>
    <name>Run Paint Run Run</name>
    <email>runrun@runpaint.org</email>
  </committer>
</commit>
