查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: id2name-i.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/Fixnum/id2name-i.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the object whose symbol id is <em>fix</em>. If there is no symbol in the symbol table with this value, returns <tt>nil</tt>. <tt>id2name</tt> has nothing to do with the <tt>Object.id</tt> method. See also <tt>Fixnum#to_sym</tt>, <tt>String#intern</tt>, and class <tt>Symbol</tt>. - !ruby/struct:SM::Flow::VERB body: " symbol = :@inst_var #=> :@inst_var\n id = symbol.to_i #=> 9818\n id.id2name #=> "@inst_var"\n" full_name: Fixnum#id2name is_singleton: false name: id2name params: | fix.id2name -> string or nil visibility: public
💾 保存文件
← 返回文件管理器