⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Set
/
View File Name :
include%3f-i.ri
U:RDoc::AnyMethod[iI" include?:ETI"Set#include?;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"7Returns true if the set contains the given object.;To:RDoc::Markup::BlankLine o; ; [I"QNote that <code>include?</code> and <code>member?</code> do not test member ;TI"<equality using <code>==</code> as do other Enumerables.;T@o; ; [I"!See also Enumerable#include?;T: @fileI"lib/set.rb;T:0@omit_headings_from_table_of_contents_below000[[I"member?;To;; [ ;@; 0[I"===;To;; [ o; ; [I">Returns true if the given object is a member of the set, ;TI"and false otherwise.;T@o; ; [I"Used in case statements:;T@o:RDoc::Markup::Verbatim; [I"require 'set' ;TI" ;TI"case :apple ;TI" when Set[:potato, :carrot] ;TI" "vegetable" ;TI"when Set[:apple, :banana] ;TI" "fruit" ;TI" end ;TI"# => "fruit" ;T:@format0o; ; [I"Or by itself:;T@o;; [I"#Set[1, 2, 3] === 2 #=> true ;TI"#Set[1, 2, 3] === 4 #=> false;T;0;@; 0I"(o);T@FI"Set;TcRDoc::NormalClass00