Skip to content
Browse files

Merge pull request #119 from jc00ke/master

Fixes #116 - Thanks Jesse!
  • Loading branch information...
2 parents 7855761 + 78c827c commit 189fdb09ff01f83491ee78cd932d8b000aefc20b Monty Williams committed Jan 18, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/kernel/bootstrap/Class.rb
View
5 src/kernel/bootstrap/Class.rb
@@ -79,6 +79,11 @@ def self.new_fixed_instvars(super_cls, ivnames, &block)
c
end
+ # Returns a nice string for Kernel#method_missing
+ def __name_for_mnu
+ "#{name}:Class"
+ end
+
# Allocate space for a new object of self's class. The returned object
# is an instance of self.
primitive 'allocate', 'rubyBasicNew' # init fixed instVars to remoteNil

1 comment on commit 189fdb0

@jc00ke
jc00ke commented on 189fdb0 Jan 19, 2012

@Monty You're welcome!

Please sign in to comment.
Something went wrong with that request. Please try again.