Your IP : 18.188.211.58
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: With no arguments, sets the default visibility for subsequently defined methods to private. With arguments, sets the named methods to have private visibility.
- !ruby/struct:SM::Flow::VERB
body: " module Mod\n def a() end\n def b() end\n private\n def c() end\n private :a\n end\n Mod.private_instance_methods #=> ["a", "c"]\n"
full_name: Module#private
is_singleton: false
name: private
params: |
private => self
private(symbol, ...) => self
visibility: public