ruby – 可以安装现有宝石的文档吗?

Rubyinside提到 a blog post如何通过不安装RI或RDoc来加快宝石安装.

是否可以安装一个gem并随后安装文档,以便您可以随时匆匆忙忙地加入RTFM?

> gem help rdoc

Usage: gem rdoc [args] [options]
Options:
      --all                        Generate RDoc/RI documentation for all
                                   installed gems
      --[no-]rdoc                  Include RDoc generated documents
      --[no-]ri                    Include RI generated documents
  -v, --version VERSION            Specify version of gem to rdoc
Arguments:
  GEMNAME       gem to generate documentation for (unless --all)
Summary:
  Generates RDoc for pre-installed gems
Defaults:
  --version '>= 0' --rdoc --ri
相关文章
相关标签/搜索