⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Module
/
View File Name :
protected-i.ri
U:RDoc::AnyMethod[iI"protected:ETI"Module#protected;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"EWith no arguments, sets the default visibility for subsequently ;TI"Jdefined methods to protected. With arguments, sets the named methods ;TI"#to have protected visibility. ;TI"0String arguments are converted to symbols. ;TI":An Array of Symbols and/or Strings are also accepted.;To:RDoc::Markup::BlankLine o; ; [ I"EIf a method has protected visibility, it is callable only where ;TI"A
self
of the context is the same as the method. ;TI"K(method definition or instance_eval). This behavior is different from ;TI"JJava's protected method. Usually
private
should be used.;T@o; ; [I"LNote that a protected method is slow because it can't use inline cache.;T@o; ; [I"NTo show a private method on RDoc, use
:doc:
instead of this.;T: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"„protected -> self protected(symbol, ...) -> self protected(string, ...) -> self protected(array) -> self ;T0[ I"(*args);T@FI"Module;TcRDoc::NormalClass00