stevan/moe — pull request #18 by sartak (2013-01-14 04:19:45+00:00)
Title: Fix getAttribute&getMethod to work under inheritance, tests too

hasMethod and hasAttribute both check whether the method/attribute
exists in the inheritance hierarchy, so we need the local check
here instead. Otherwise when you inherit "foo" then you get an error
on methods("foo").