⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby31
/
share
/
ri
/
system
/
Range
/
View File Name :
include%3f-i.ri
U:RDoc::AnyMethod[iI" include?:ETI"Range#include?;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns +true+ if +object+ is an element of +self+, +false+ otherwise:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I")(1..4).include?(2) # => true ;TI"*(1..4).include?(5) # => false ;TI")(1..4).include?(4) # => true ;TI"*(1...4).include?(4) # => false ;TI")('a'..'d').include?('b') # => true ;TI"*('a'..'d').include?('e') # => false ;TI"*('a'..'d').include?('B') # => false ;TI")('a'..'d').include?('d') # => true ;TI"*('a'...'d').include?('d') # => false ;T:@format0o; ; [I"AIf begin and end are numeric, #include? behaves like #cover?;T@o;; [I"$(1..3).include?(1.5) # => true ;TI""(1..3).cover?(1.5) # => true ;T; 0o; ; [I"6But when not numeric, the two methods may differ:;T@o;; [I"*('a'..'d').include?('cc') # => false ;TI")('a'..'d').cover?('cc') # => true ;T; 0o; ; [I"Related: Range#cover?.;T@o; ; [I"2Range#member? is an alias for Range#include?.;T: @fileI"range.c;T:0@omit_headings_from_table_of_contents_below000[ I" (p1);T@.FI" Range;TcRDoc::NormalClass0[@1FI"member?;T