Skip to content

Commit

Permalink
Quick fix for Kernel#define_singleton_method for classes
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 18, 2013
1 parent ce381f9 commit d6fb390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/kernel.rb
Expand Up @@ -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};
}
Expand Down

0 comments on commit d6fb390

Please sign in to comment.