2011-03-08 32 views
4

有没有办法从命令行获取Ruby函数的手册?命令行中的Ruby函数的手册页

像R.

?func手册页
+0

你的意思是man page?我已经在这里发布了老版本http://douglasallen.github.io/Ruby_core_ri_doc/正版作品来自'Matz' – 2013-05-24 03:49:25

回答

3

我有我使用的,因为它的颜色格式在终端下面的shell脚本:

[email protected]:~/insiderpages> cat `which rim` 
ri -Tf ansi -w 150 $1 
[email protected]:~/insiderpages> rim Array 

。 ..

+0

感谢您的支持。我喜欢它。 – 2011-03-09 03:22:20