Skip to content

Commit

Permalink
meta classes need _methods property to allow singleton def methods
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 8, 2013
1 parent ef4b5d3 commit 0b906ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions corelib/kernel.rb
Expand Up @@ -439,6 +439,7 @@ def singleton_class
meta._proto = #{self}.constructor.prototype;
meta._isSingleton = true;
meta.__inc__ = [];
meta._methods = [];
meta._scope = #{self}._scope;
Expand Down

0 comments on commit 0b906ff

Please sign in to comment.