method

method_visibility

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Module
method_visibility(method) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/module/redefine_method.rb, line 30
  def method_visibility(method) # :nodoc:
    case
    when private_method_defined?(method)
      :private
    when protected_method_defined?(method)
      :protected
    else
      :public
    end
  end
Register or log in to add new notes.