Exercises, examples and other material relating to training module R110. This topic is presented on public courses
Learning to program in Ruby,
Ruby Programming
Ruby Programming - A Modern, Object Oriented, Portable Scripting language.
This quickly moving course covers the fundamentals
of the Ruby language for ... http://www.wellho.net/course/rpfull.html [course] |
Learning to Program in Ruby - A Modern, Object Oriented, Portable Scripting language.
Ruby is very much an object oriented language, and we concentrate ... http://www.wellho.net/course/rlfull.html [course] |
/pre div class= introsubheads php if (! ereg( Z , offstring)) xs = ! ; a href= toggle= = xs Z#Z target= _self img src= /whimg/expdcont.gif ... http://www.wellho.net/solutions/qindex.html [longer article] |
In Ruby:
* Variable with names starting with a lower case letter are local variables
* Names starting with a capital letter are constants - you can ... http://www.wellho.net/mouth/1586_Var ... -Ruby.html [short article] |
div class= introsubheads ABOUT OUR SOLUTION CENTRE BR /div
You ll find a series of longer technical articles on this part of our web site - they re ... http://www.wellho.net/solutions/melksham ... sting.html [longer article] |
I was giving a Public Ruby Course to a small group at the end of last week ... and having a small group gave me the opportunity to write some demonstrations ... http://www.wellho.net/mouth/1587_Som ... ourse.html [short article] |
If you want to use a Ruby program to access an RSS feed (or some other XML or HTML data), you can start with the standard Net::HTTP module ... full (working, ... http://www.wellho.net/mouth/1891_Rub ... vices.html [short article] |
Every operation has a result. Easy - store it to
a varibale. But operations have side effects too that
you can read from special variables. And the very act
of running your script provides a wide variety of extra
information that you may want to use ... and is there,
if you know where, for the asking.
This topic is presented on public courses
Learning to program in Ruby,
Ruby Programming
Examples from our training material
| av | Command Line Parameters to a Ruby program |
| c3.rb | Process every line via topicalisation |
| cc | begin block |
| gloop1 | Topicalisation - before |
| gloop2 | Topicalisation - after |
| pgv.rb | Predefined global variables and resources |
| rerub | Cleaning an incoming string in Ruby |
| ruby_awk.rb | implicit loop around code - awk mode |
| tiny | Autosplit mode, a loop round your code, BEGIN and END |
| topic.rb | Topicalisation - the use of $_ |
| vvx | variable types |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
ARGV, $0 and friends - the command line.
Other special variables from $: through $$ to $<.
Environment variables.
Pseudo-variables.
Reserved words in Ruby.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.