관리-도구
편집 파일: %3d%7e-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Match---If <em>obj</em> is a <tt>Regexp</tt>, use it as a pattern to match against <em>str</em>,and returns the position the match starts, or <tt>nil</tt> if there is no match. Otherwise, invokes <em>obj.=~</em>, passing <em>str</em> as an argument. The default <tt>=~</tt> in <tt>Object</tt> returns <tt>false</tt>. - !ruby/struct:SM::Flow::VERB body: " "cat o' 9 tails" =~ /\\d/ #=> 7\n "cat o' 9 tails" =~ 9 #=> false\n" full_name: String#=~ is_singleton: false name: =~ params: | str =~ obj => fixnum or nil visibility: public