Articles related to ruby basics
Ruby's Basic Features: Blocks, Loops, Arrays & more - About.com
Like any other programming language, Ruby has a number of basic features that make up the code. Learn what these features are and how to use them in your ...
How to Create Arrays in Ruby - A Basic Guide - About.com
Storing variables within variables is a common thing in Ruby and is often referred to as a "data structure." There are many varieties of data structures, the most ...
Basics - Ruby - About.com
This page describes the basic features of the Ruby programming language, giving beginning programmers an idea of how to use blocks, variables, arrays, ...
Router Basics - Ruby - About.com
Router Basics. The core of any Ruby on Rails web application is the data to be accessed. Instead of giving you a thin layer over the HTTP server and saying ...
Basic Array Operations - Ruby - About.com
Beyond creating Arrays with literals, indexing the elements and iterating over the elements, there are a lot of very useful things that can be done with Arrays.
How to Create and Use Hashes in Ruby - About.com
Ruby Expert. Share this. Send to a Friend via Email ... usr/bin/env ruby grades = Hash.new grades["Bob"] = ... Internet Basics Expert · View More in Technology ...
While, Until, Each and Times Loops in Ruby - About.com
Though the more traditional while and until loops are used in Ruby programs, .... Ruby's Basic Features: Blocks, Loops, Arrays & more; Loops the "Ruby Way".
Hashes - Ruby - About.com
You will (probably) never see a non-trivial Ruby program that does not use Hashes ... I can recall using DATA statements in BASIC all the time, remembering ...
A Beginner's Guide to Ruby Programming Language - About.com
Writing small programs with Ruby is as easy as importing the modules you need and writing an almost BASIC-like "sequence of events" type of program.
Unit Testing with Minitest: Basic Assertions - Ruby - About.com
So let's write a very basic test, one that simply tests the truthiness for various things in Ruby. To run these tests, simply run the script. Though we don't explicitly ...