⚝
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 :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Set
/
View File Name :
classify-i.ri
U:RDoc::AnyMethod[iI" classify:ETI"Set#classify;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ÉClassifies the set by the return value of the given block and returns a hash of {value => set of elements} pairs. The block is called once for each element of the set, passing the element as parameter.;To:RDoc::Markup::Verbatim; [I"require 'set' ;TI"'files = Set.new(Dir.glob("*.rb")) ;TI"6hash = files.classify { |f| File.mtime(f).year } ;TI"5hash #=> {2000=>#
, ;TI"= # 2001=>#
, ;TI"- # 2002=>#
} ;T:@format0o; ; [I"0Returns an enumerator if no block is given.;T: @fileI"lib/set.rb;T:0@omit_headings_from_table_of_contents_below00I"o;T[ I"();T@FI"Set;TcRDoc::NormalClass00