开发者

ri Not Working in zsh

I'm using zsh on Mac OS X. When开发者_如何学编程 I type ri followed by a class name everything works fine. However, if I want to look up specific method documentation (e.g. Array#new), the shell would tell me zsh: no matches found: Array#new

Does this mean the ruby documentation is not completely installed on Mac by default?

Thanks.


Put Array#new inside single quotes. It's a special operator for zsh

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜