Ruby世界:更完善的Ruby终端软件Pry
由Gudao Luo在2011-04-30 at 11:24发表的
Ruby世界:在Ruby和Rails交互界面中使用Vim
由Gudao Luo在2010-06-16 at 13:04发表的
- 安装命令
- sudo gem install interactive_editor
- 配置方法
- vim ~/.irbrc
- vim ~/.vimrc
- vim ~/.irbrc
- 使用方法
- 启动下面命令之一
- irb
- ./script/console #Rails2
- rails console #Rails3
- 输入vi或者vim
- 输入需要在交互界面的Ruby语言代码
- 退出vi或者vim
- 启动下面命令之一
- 参考资料
- Running Vim within IRB http://goo.gl/oE79
- Podcast: vimcasts http://goo.gl/NI8o
Rails框架:终端应用程序的微型视图框架Hirb
由Gudao Luo在2009-12-16 at 18:19发表的

- 创建Rails程序实例演示命令清单
- 使用hirb演示实例
- 最重要的参考资料:
- http://github.com/cldwalker/hirb
- http://tagaholic.me/hirb/
- http://github.com/jeremymcanally/rails-templates
- http://railscasts.com/episodes/148-app-templates-in-rails-2-3
- http://m.onkey.org/2008/12/4/rails-templates
- 参考资料:
- http://www.ozmox.com/2009/11/01/enjoy-working-with-models-using-hirb/
- http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
- http://github.com/BJClark/rails-templates/blob/d8889e1c771847f75641503e478c130e959e1686/scidept.rb
- http://www.geekskillz.com/articles/11
- http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html
Ruby语言工具:使用工具irb变得更加方便
由Gudao Luo在2007-12-14 at 21:49发表的

- 工具名称
- Utility Belt
- 安装方法
- gem install utility_belt
- vi
%USER_HOME%\.irbrc - 增加下面代码到文件.irbrc中
require ‘rubygems’
require ‘utility_belt’ %USER_HOME%[Windows] =: C:\Documents and Settings\gudao%USER_HOME%[Ubuntu] =: /home/gudao
- 使用方法
- 打开系统终端
- irb【回车键】
- >> grep_classes(“num”)【回车键】
#=> [“Bignum”, “Fixnum”, “Numeric”, “REXML::SyncEnumerator”]

