In Chapter 6 , we discussed the Gem CLI command and its various subcommands; we also discussed how such commands can be emulated using various Ruby classes. Most of these commands are fairly straightforward; Gem::Commands::InstallCommand installs a gem, for example.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Developing with the RubyGems API

  • David Berube

摘要

In Chapter 6 , we discussed the Gem CLI command and its various subcommands; we also discussed how such commands can be emulated using various Ruby classes. Most of these commands are fairly straightforward; Gem::Commands::InstallCommand installs a gem, for example.