Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed description for zsuper in define_method method.

  • Loading branch information...
commit cb220dced544d9e1b4eebbf2d2f49c506675a382 1 parent 16dd396
@brixen brixen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  language/super_spec.rb
View
2  language/super_spec.rb
@@ -111,7 +111,7 @@ def b; "b"; end
sub.new.a.should == "a"
end
- it "can be used with implicit arguments from a method defined with define_method" do
+ it "raises a RuntimeError when called with implicit arguments from a method defined with define_method" do
super_class = Class.new do
def a(arg)
arg
Please sign in to comment.
Something went wrong with that request. Please try again.