IHYPRESS PROGRAMMING
CGI/Ruby programs with code and output for beginners
HOME
|
ASP
|
C
|
CSS
|
GNUPLOT
|
HTML
|
JAVASCRIPT
|
PERL
|
PHP
|
PYTHON
|
RUBY
|
SVG
My First Ruby Program
A simple skeleton of a Ruby program.
String Expressions
Simple examples of Ruby string expressions.
Numerical Expressions
Simple examples of Ruby numerical expressions.
Conversions
Simple examples of class conversions in Ruby.
Counting Loops
Simple counting loops in Ruby.
Conditional Loops
Simple conditional (while) loops in Ruby.
Arrays 1
Array sorting, reversing, adding, and removing in Ruby.
Arrays 2
Array iterations in Ruby.
Hashes
Simple use of hashes in Ruby.
Functions 1
A simple argument-less function.
Functions 2
Examples of functions with arguments.
Yield Statement
Using the yield statement in Ruby.
Here Documents
Simple here documents in Ruby.
String Literals
Escape sequences and expressions in Ruby strings.
Sessions
Simple sessions use in Ruby.
If...Else
If and else in Ruby.
Case Statement
The case statement in Ruby.
Time and Date
Using times and dates in Ruby.
Output Statements
Comparing the puts and print statements in Ruby.
Forms
Creating HTML forms in Ruby.
Setting a Cookie
Setting a cookie in Ruby.
Reading a Cookie
Reading a cookie in Ruby.
Tutorials:
Reserved Words
A list of Ruby's reserved words you can't use for variable or function names.
COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland