目录 搜索
Ruby用户指南 3、开始 4、简单的例子 5、字符串 6、正则表达式 7、数组 8、回到那些简单的例子 9、流程控制 10、迭代器 11、面向对象思维 12、方法 13、类 14、继承 15、重载方法 16、访问控制 17、单态方法 18、模块 19、过程对象 20、变量 21、全局变量 22、实变量 23、局部变量 24、类常量 25、异常处理:rescue 26、异常处理:ensure 27、存取器 28、对象的初始化 29、杂项 RGSS入门教程 1、什么是RGSS 2、开始:最简单的脚本 3、数据类型:数字 4、数据类型:常量与变量 5、数据类型:字符串 6、控制语句:条件分歧语句 7、控制语句:循环 8、函数 9、对象与类 10、显示图片 11、数组 12、哈希表(关联数组) 13、类 14、数据库 15、游戏对象 16、精灵的管理 17、窗口的管理 18、活动指令 19、场景类 Programming Ruby的翻译 Programming Ruby: The Pragmatic Programmer's Guide 前言 Roadmap Ruby.new 类,对象和变量 容器Containers,块Blocks和迭代Iterators 标准类型 深入方法 表达式Expressions 异常,捕捉和抛出(已经开始,by jellen) 模块 基本输入输出 线程和进程 当遭遇挫折 Ruby和它的世界 Ruby和Web开发 Ruby Tk Ruby 和微软的 Windows 扩展Ruby Ruby语言 (by jellen) 类和对象 (by jellen) Ruby安全 反射Reflection 内建类和方法 标准库 OO设计 网络和Web库 Windows支持 内嵌文档 交互式Ruby Shell 支持 Ruby参考手册 Ruby首页 卷首语 Ruby的启动 环境变量 对象 执行 结束时的相关处理 线程 安全模型 正则表达式 字句构造 程序 变量和常数 字面值 操作符表达式 控制结构 方法调用 类/方法的定义 内部函数 内部变量 内部常数 内部类/模块/异常类 附加库 Ruby变更记录 ruby 1.6 特性 ruby 1.7 特性 Ruby术语集 Ruby的运行平台 pack模板字符串 sprintf格式 Marshal格式 Ruby FAQ Ruby的陷阱
文字

Support



One of the major features of Open Source projects is the technical support. Articles in the mass media often criticize open source efforts for not having the same tech support that a commercial product has. And boy is that a good thing! Instead of dialing up some overworked and understaffed help desk and being treated to Music On Hold for an hour or so without ever getting the answer you need, we have a better solution: the Ruby community. The author of Ruby, the authors of this book, and many other Ruby users are willing and able to lend you a hand, should you need it.

The syntax of Ruby remains fairly stable, but as with all evolving software, new features are added every now and again. As a result, both printed books and the online documentation can fall behind. All software has bugs, and Ruby is no exception. There aren't many, but they do crop up. See the bug reporting section on page 527 for details.

If you experience a problem with Ruby, feel free to ask in the mailing lists or on the newsgroup (more on those in just a minute). Generally you'll get timely answers from Matz himself, the author of the language, from other gurus, and from those who've solved problems similar to your own.

There might be similar questions in the mailing lists or on the newsgroup, and it is good ``netiquette'' to read through recent postings before asking. If you can't find the answer you need, ask, and a correct answer will usually show up with remarkable speed and precision.

Web Sites

The official Ruby Home Page is http://www.ruby-lang.org.

You can also find Ruby information at http://www.rubycentral.com. In particular, you'll find complete online references to Ruby's built-in classes and modules at http://www.rubycentral.com/ref/, and to the Ruby FAQ at http://www.rubycentral.com/faq/.

While you're surfing, drop in on http://www.pragmaticprogrammer.com and see what we're up to.

Download Sites

The latest version of Ruby can be downloaded from: http://www.ruby-lang.org/en/download.html.

Mirror sites are:

  • ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby
  • ftp://ftp.iij.ad.jp/pub/lang/ruby
  • ftp://blade.nagaokaut.ac.jp/pub/lang/ruby
  • ftp://ftp.krnet.ne.jp/pub/ruby
  • ftp://mirror.nucba.ac.jp/mirror/ruby
  • http://mirror.nucba.ac.jp/mirror/ruby

Precompiled Windows binaries (using cygwin) are in the pc/ subdirectory.

Usenet Newsgroup

Ruby has its own newsgroup, comp.lang.ruby. Traffic on this group is archived and mirrored to the ruby-talk mailing list.

Mailing Lists

There are five mailing lists now talking about Ruby. The first is in English, the last four in Japanese:

ruby-talk@netlab.co.jp English language discussion of Ruby (mirrored to comp.lang.ruby).
ruby-list@netlab.co.jp Japanese language discussion of Ruby.
ruby-dev@netlab.co.jp List for Ruby developers.
ruby-ext@netlab.co.jp List for people writing extensions for or with Ruby.
ruby-math@netlab.co.jp Ruby in mathematics.

See http://www.ruby-lang.org/en/ml.html for details on joining a mailing list.

The mailing lists are archived, and can be searched using http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml.

Bug Reporting

If you think you've spotted a bug in Ruby, you may want to browse the bug database at http://www.ruby-lang.org/cgi-bin/ruby-bugs. You may also want to check to see if a new version of Ruby is available---perhaps the bug you've found has already been fixed.

You can submit a bug report either by using the Web page mentioned above or by sending an e-mail to ruby-bugs@ruby-lang.org.

When reporting a suspected bug, it would be a good idea to include the output of ``ruby -v'' along with any problematic source code. People will also need to know the operating system you're running. If you compiled your own version of Ruby, it might be a good idea to attach your rbconfig.rb file as well.

If you have a problem using irb, be aware of its limitations (see the reference section beginning on page 517). See what happens using just Ruby itself.


Extracted from the book "Programming Ruby - The Pragmatic Programmer's Guide"
Copyright
上一篇: 下一篇: