LittleBookOfRuby

LittleBookOfRuby - Y OUR F REE G UIDE T O P ROGRAMMING R...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Y OUR F REE G UIDE T O P ROGRAMMING R UBY FROM WWW . SAPPHIRESTEEL . COM IN ASSOCIATION WITH B ITWISE M AGAZINE The Little Book Of Ruby :: :: www.sapphiresteel.com :: page 2 The Little Book Of Ruby Copyright 2006 Dark Neon Ltd. All rights reserved. written by Huw Collingbourne Download source code from: http://www.sapphiresteel.com You may freely copy and distribute this eBook as long as you do not modify the text or remove this copyright notice. You must not make any charge for this eBook. The Little Book of Ruby is produced in association with Rosedown Mill Ltd., makers of the Steel IDE for Visual Studio ( www.sapphiresteel.com ) and Bitwise Magazine the online magazine for developers ( www.bitwisemag.com ). First edition: June 2006 The Little Book Of Ruby :: :: www.sapphiresteel.com :: page 3 Table of Contents Welcome To The Little Book Of Ruby ...........................................................................5 Learn Ruby In Ten Chapters ..............................................................................5 What Is Ruby? .......................................................................................................5 What Is Rails? ........................................................................................................5 Download Ruby plus an Editor ..............................................................................6 Get The Source Code Of The Sample Programs ...................................................6 Running Ruby Programs ........................................................................................6 How To Use This Book ..........................................................................................7 Making Sense Of The Text ....................................................................................7 Chapter One .....................................................................................................................8 Strings and Embedded Evaluation .......................................................................11 Methods ...............................................................................................................12 Numbers ...............................................................................................................14 Testing a Condition: if then .............................................................................15 Chapter Two ..................................................................................................................17 Instances and Instance Variables ..........................................................................18 Constructors new and initialize .........................................................................21 Inspecting Objects ................................................................................................22 Chapter Three ................................................................................................................25....
View Full Document

Page1 / 85

LittleBookOfRuby - Y OUR F REE G UIDE T O P ROGRAMMING R...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online