method

method_visibility

Importance_0
v5.0.0.1 - Show latest stable - 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/remove_method.rb, line 25
  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.