Ruby Ruby 有没有官方 Language Reference?

iwinux · August 30, 2012 · Last by Tony612 replied at September 23, 2012 · 3471 hits

经常想查一下某个语言特性的细节,却找不到在线文档,虽然说有 The Ruby Programming Language 这本纸质书可以作为参考资料,但是很不方便。

(是说像 Python 的这种:http://docs.python.org/reference/index.html

BTW:Ruby 社区有没有跟 PEP (Python Enhancement Proposals) 类似的文档?

看看这个,是不是你想要的。http://www.ruby-doc.org/

这个吧

https://bugs.ruby-lang.org/projects/ruby-trunk/issues?set_filter=1&f[]=status_id&op[status_id]=*&f[]=tracker_id&op[tracker_id]=%3D&v[tracker_id][]=2&f[]=&c[]=tracker&c[]=status&c[]=priority&c[]=subject&c[]=assigned_to&c[]=updated_on&group_by=

#1 楼 @clark 这个只有 core lib 和 standard lib 的内容啊。

比如我想知道关于 block 语法的细节,要在哪里找官方的参考?

#2 楼 @jjym 这个……坑爹吧……

#4 楼 @iwinux 我记得以前的《programming ruby》是可以在线找到的

可以考虑建一个。

我常用这个查 API

http://rdoc.info/

10 Floor has deleted

#6 楼 @hooopo 这书很旧了吧,根本没有随着 Ruby 版本升级而更新?

#9 楼 @nevill 嗯,这个我也经常用,但是语法问题怎么办

#3 楼 @bhuztez

对比一下这个:http://www.python.org/dev/peps/

(然后 Redmine 里一堆日文是怎么回事 = =!!!)

参考:http://stackoverflow.com/questions/3263031/is-there-a-formal-specification-like-the-java-language-specification-jls-for Is there a formal specification (like the Java Language Specification (JLS)) for Ruby?

#14 楼 @reus 我找到了这个 http://stackoverflow.com/questions/2754681/is-there-a-definitive-reference-document-for-ruby-syntax

所以结论就是,没有官方的 language reference。无法想象那么活跃的社区居然文档那么欠缺,有点不爽……这一点 Python 真的好很多

#17 楼 @iwinux this page was last modified on 20 July 2012, at 19:43. 看起来还有人在维护

#16 楼 @iwinux 这个是第三方的吧?

#20 楼 @hooopo 这个还是挺不错的嘛。。

You need to Sign in before reply, if you don't have an account, please Sign up first.