qtil
advanced-security/qtil-ruby 0.0.2
Search

Member predicate Method::isPrivate

Holds if this method is private. All methods with the name prefix private are private below:

class C
  private def private1
  end

  def public
  end

  def private2
  end
  private :private2

  private

  def private3
  end

  def private4
  end
end
predicate isPrivate()