Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/kernel.rb
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ def define_singleton_method(name, &body)
body._sup = #{self}[jsid];
body._s = null;
#{self}[jsid] = body;
#{self.singleton_class}._proto[jsid] = body;
return #{self};
}

0 comments on commit d6fb390

Please sign in to comment.