func kernelPublicMethods(context CallContext, args ...RubyObject) (RubyObject, error) {
    showSuperClassMethods := true
    if len(args) == 1 {
        boolean, ok := args[0].(*Boolean)
        if !ok {