Trans wrote:
> Not Kernel, it becomes a private method of Object class.

def widget(tidbit)
  tidbit
end

I was under the impression that the  widget(tidbit) method becomes a
private method of Kernel not Object.

def hello
  "hello"
end

class Object
  def hello2
    "hello2"
  end
  private_class_method :hello2
end

Object.private_methods.include?("hello") => true
Object.private_methods.include?("hello2") => true

Kernel.private_methods.include?("hello") => true
Kernel.private_methods.include?("hello2") => false

The code above demonstrates that hello is private to both Kernel and
Object as opposed to hello2 which is only private to Object.

Am I making a silly deduction mistake somewhere?

srdjan