Section 2.11. Controlling Uppercase and Lowercase


2.10. Using Strings As IO Objects

Besides sprintf and scanf, there is another way to fake input/output to a stringthe StringIO class.

Because this is a very IO-like object, we cover it in a later chapter. See section 10.1.24, "Treating a String As a File."




The Ruby Way(c) Solutions and Techniques in Ruby Programming
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)
ISBN: 0672328844
EAN: 2147483647
Year: 2004
Pages: 269
Authors: Hal Fulton

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net