⚝
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
/
Proc
/
View File Name :
ruby2_keywords-i.ri
U:RDoc::AnyMethod[iI"ruby2_keywords:ETI"Proc#ruby2_keywords;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IMarks the proc as passing keywords through a normal argument splat. ;TI"GThis should only be called on procs that accept an argument splat ;TI"H(
*args
) but not explicit keywords or a keyword splat. It ;TI"Lmarks the proc such that if the proc is called with keyword arguments, ;TI"Kthe final hash argument is marked with a special flag such that if it ;TI"Mis the final element of a normal argument splat to another method call, ;TI"Jand that method call does not include explicit keywords or a keyword ;TI"Ksplat, the final element is interpreted as keywords. In other words, ;TI"?keywords will be passed through the proc to other methods.;To:RDoc::Markup::BlankLine o; ; [I"JThis should only be used for procs that delegate keywords to another ;TI"Lmethod, and only for backwards compatibility with Ruby versions before ;TI" 2.7.;T@o; ; [ I"KThis method will probably be removed at some point, as it exists only ;TI"Hfor backwards compatibility. As it does not exist in Ruby versions ;TI"Lbefore 2.7, check that the proc responds to this method before calling ;TI"Lit. Also, be aware that if this method is removed, the behavior of the ;TI"@proc will change so that it does not pass through keywords.;T@o:RDoc::Markup::Verbatim; [I"module Mod ;TI"( foo = ->(meth, *args, &block) do ;TI", send(:"do_#{meth}", *args, &block) ;TI" end ;TI"> foo.ruby2_keywords if foo.respond_to?(:ruby2_keywords) ;TI"end;T:@format0: @fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0I"!proc.ruby2_keywords -> proc ;T0[ I"();T@+FI" Proc;TcRDoc::NormalClass00