查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: %3d%7e-i.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/String/%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
💾 保存文件
← 返回文件管理器