Below is the code making me confused :

class Foo
  protected
  def self.baz;end
end

Foo.protected_methods() # => []

Why am I getting empty? I expected [:baz]

-- 
Posted via http://www.ruby-forum.com/.