NOTES on RUBY
NOTES ON RUBY
1. Documentation is NOT good.
2. stdin.rb is an important basis for development. It takes multi-line
input from the screen and saves it continuously (appends it) to the
file result.txt
3. webpage.rb will go on net and read and print out a file from the
named web site. It does not work with many websites but is hard coded
to awooley.com where it finds and prints home.php.
4. webpage2.rb is the SeymourLake.org home page; webpage3 is the WooleyWeb
homepage; webpage4 is the WooleyWeb Control frame on the home page.
5. gets.rb accepts input from screen or file (ruby gets.rb test.txt) and
prints it to screen
6. namefile.rb is the same as second option of gets.rb but 'asks' for file
name at the prompt and then prints out the file- at second Enter!
7. dofile.rb is a more complex form of gets.rb with the file name hard-coded
in dofile.rb
8. str.rb demonstrates various string functions
9. net.rb is supposed to put up a webpage on localhost- doesn't work.
10. notes.rb is a version of dofile to print this file!