| |||||||||||
| |||||||||||
Some Ruby programming examples from our course
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 in front of them. I have now tidied these up and have pleasure in presenting to more Ruby demonstrations:
Ruby's BEGIN block The compact method - strips out nil members from an array Writing comparator methods such as "larger" and "smaller" in Ruby Using a hash to provide a table of counters Calling another process via a pipe in Ruby Definition and use of a class in Ruby Definition and the redefinition of the same function in Ruby (written 2008-03-21 18:22:20) Associated topics are indexed under R110 - Ruby - Special Variables and Pseudo-VariablesR108 - Ruby - More Classes and Objects R106 - Input and Output in Ruby R104 - Ruby - Control Structures
Some other Articles
Easter Sunday at 404, The SpaAll Change, Portsmouth Harbour Dynamic Memory Allocation in C - calloc, realloc String interpretation in Ruby Some Ruby programming examples from our course Variable types in Ruby Well House Consultants / Manor - Staff Using Structs and Unions together effectively in C Businesses in West Wiltshire - networking Ruby, C, Java and more - getting out of loops 1707 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||