$stdin
Author |
Message |
Mackie

|
Posted: Thu Feb 28, 2008 8:58 pm Post subject: $stdin |
|
|
How do I use '$stdin' in Ruby? I don't see any advantages over 'gets'. And what are all of the definitions? I can't find anything about it, in any form of documentation. Thanks in advance. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
Posted: Thu Feb 28, 2008 9:57 pm Post subject: RE:$stdin |
|
|
$stdin is an instance of an IO class. gets is a method of $stdin |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
|
|