查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: cdesc-RiDisplay.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/RiDisplay/cdesc-RiDisplay.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This is a kind of 'flag' module. If you want to write your own 'ri' display module (perhaps because you'r writing an IDE or somesuch beast), you simply write a class which implements the various 'display' methods in 'DefaultDisplay', and include the 'RiDisplay' module in that class. - !ruby/struct:SM::Flow::P body: To access your class from the command line, you can do - !ruby/struct:SM::Flow::VERB body: " ruby -r <your source file> ../ri ....\n" - !ruby/struct:SM::Flow::P body: If folks <em>really</em> want to do this from the command line, I'll build an option in constants: [] full_name: RiDisplay includes: [] instance_methods: [] name: RiDisplay superclass:
💾 保存文件
← 返回文件管理器