Thursday, December 28, 2006

[Pages 156-9] Interactive Ruby, Editor support


Listen to this article.

Value: Low

Level: Easy

Summary:
IRb also allows you to create subsessions, each one of which may have
its own context. For example, you can create a subsession with the
same (top-level) context as the original session or create a
subsession in the context of a particular class or instance.
You can also run Ruby code from inside an editor: in Textmate try
selecting some code and press Ctrl+Shift+E.

Memo: None

Example:
irb [ irb-options ] [ ruby_script ] [ program-arguments ]

Reported errata (at 10/17/06 14:17:18 PDT): 1
*Erratum #4066 reports a problem using IRb with Windows XP SP 2 / Finnish locale

Errata I found: 0

My suggestions to the author: 0

Doubts: 0

0 Comments:

Post a Comment

<< Home