MagLev/maglev — Issue #116: NoMethodError on class methods should display class name
Author: jc00ke
Created: 2011-12-24 19:43:35+00:00
State: open

```ruby
class Foo
end

Foo.new.bar
# NoMethodError: NoMethodError: undefined method `bar' for Foo

Foo.bar
# NoMethodError: NoMethodError: undefined method `foo' for
```

Looks like `__name_for_mnu` is not resolving the class name correctly ([Kernel.rb:107](https://github.com/MagLev/maglev/blob/5f0e7e6d831a31970cd3c717a01b82e85df83a4c/src/kernel/bootstrap/Kernel.rb#L107))