관리-도구
편집 파일: %3d%3d%3d-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns <tt>true</tt> if <em>obj</em> is an element of <em>rng</em>, <tt>false</tt> otherwise. Conveniently, <tt>===</tt> is the comparison operator used by <tt>case</tt> statements. - !ruby/struct:SM::Flow::VERB body: " case 79\n when 1..50 then print "low\\n"\n when 51..75 then print "medium\\n"\n when 76..100 then print "high\\n"\n end\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " high\n" full_name: Range#=== is_singleton: false name: === params: | rng === obj => true or false rng.member?(val) => true or false rng.include?(val) => true or false visibility: public