Back to -Tutorials -Sapphire (Ruby In Steel) Tutorials -Programming

The Little Book Of Ruby

The Fastest, Easiest Way To Learn Ruby ‘by example’

Download our free eBook and Ruby source code to get up to speed with Ruby in ten easy chapters.

Note: A revised 3rd edition of The Little Book Of Ruby, to accompany an in-depth interactive course of (all-new) videos is available, by subscription, exclusively at:

Free eBook

10 Chapters – 87 pages…

PDF - 565.1 kb
Download The Little Book of Ruby - 1.1MB

The Little Book Of Ruby is a PDF eBook which will guide you through the fundamentals of Ruby programming. Starting with the basics (strings, numbers, objects and methods) it quickly moves on to explain all you need to know to create your own class hierarchies, use arrays, hashes, iterators, modules, mixins and much more besides…

- See also: The Book Of Ruby

Free Source Code

More than 50 little sample programs demonstrate every topic in the book…

Download this Zip file for use with Ruby In Steel 2008 or any other editor/IDE...

Zip - 34.5 kb
Source Archive (compatible with Ruby In Steel in VS2008)

(Or, if you are using Ruby In Steel with Visual Studio 2005, download this one...)

Zip - 30.9 kb
Source Archive (compatible with Ruby In Steel in VS2005)

You can load these source files into any Ruby editor or IDE. If you are using Ruby In Steel you may be able to load the entire project as a solution (depending on which version of the software you are using). Or you can import it to a new directory (File/New Project/Import) or, using Ruby In Steel Developer, you may Convert it ’in place’ (File/Open/Convert). Each program can be run in Ruby In Steel’s interactive console just by pressing CTRL-F5.

Table of Contents

Introduction: Welcome To The Little Book Of Ruby

- Learn Ruby In Ten Chapters
- What Is Ruby?
- What Is Rails?
- Download Ruby plus an Editor
- Get The Source Code Of The Sample Programs
- Running Ruby Programs
- How To Use This Book
- Making Sense Of The Text

Chapter One: Strings and Methods

- Strings and Embedded Evaluation
- Methods
- Numbers
- Testing a Condition: if … then

Chapter Two: Classes and Objects

- Instances and Instance Variables
- Constructors – new and initialize
- Inspecting Objects

Chapter Three: Class Hierarchies

- Superclasses and Subclasses

Chapter Four: Accessors, Attributes, Class Variables

- Accessor Methods
- Attribute Readers and Writers
- Attributes Create Variables
- Calling Methods of a Superclass
- Class Variables

Chapter Five: Arrays

- Using Arrays
- Creating Arrays
- Multi-Dimensional Arrays
- Iterating Over Arrays
- Indexing Into Arrays

Chapter Six: Hashes

- Creating Hashes
- Indexing Into A Hash
- Hash Operations

Chapter Seven: Loops and Iterators

- For Loops
- Blocks
- While Loops
- While Modifiers
- Until Loops

Chapter Eight: Conditional Statements

- If..Then..Else
- And..Or..Not
- If..Elsif
- Unless
- If and Unless Modifiers
- Case Statements

Chapter Nine: Modules and Mixins

- A Module Is Like A Class…
- Module Methods
- Modules as Namespaces
- Module ‘Instance Methods’
- Included Modules or ‘Mixins’
- Including Modules From Files
- Pre-Defined Modules

Chapter Ten: Saving Files, Moving On…

- Saving Data
- Files
- Moving On…

Bookmark and Share   Keywords:  downloads  ruby
© SapphireSteel Software 2014
letrozole buy quetiapine acamprol for sale anastrazole buy malegra 100mg buy amiloride online aldactone for sale order femalegra buy tadalafil online buy arcalion sulbutiamine online simvastatin zocor filagra super active buy armod online admenta for sale normabrain for sale buy generic rapacan buy generic sulpitac buy erlotinib 150mg phenytoin sodium order rasalect buy lithosun sr online order diclofenac buy viagra 100mg imatinib modvigil viraday buy generic oleanz tadaga 40mg suhagra buy avanafil online buy tadarise pro online buspin for sale buy cipro 500mg buy tadalafil buy fluconazole enalapril maleate vasotec buy generic amlodipine besylate amitryn buy nitazoxanide online garlic himalaya for sale order avanafil buy tadalafil arpizol for sale buy tizan buy kamagra online ketasma 1mg buy generic x-vir malegra dxt for sale buy tenofovir + emtricitabine buy isotretinion cernos depot sorafenib 200mg amlodipine buy metronidazole 200mg order calaptin buy gleevec sildenafil citrate jelly 100mg buy ciplactin online buy generic poxet alodox order super p force mestilon order finpecia buy topirol 100mg calutide irovel for sale buy sildenafil citrate soft mirtaz for sale vilitra vardenafil order premarin testosterone undecanoate buy generic urimax sildigra 100mg buy flonida online rifagut rifaximin buy armodafinil online buy generic baclof exemestane buy atorvastatin buy viagra buy testosterone gel 5 gram/sachet buy rapamune online cabergoline buy levetiracetam natamet for sale buy cutivate cream 0.05 % 90 gm buy naltrexone order quinine sulphate doxicip for sale buy piracetam 800mg buy lenalidomide online buy lumigan buy tretinoin 0.1% order fluka vardenafil buy zyban kamagra oral jelly 100mg malegra fxt for sale buy viagra 100mg buy cenforce 100mg hostacycline buy tadalafil online memantine 10mg buy modalert online clomiphene 50mg rizact for sale order lasix apcalis jelly 20mg buy waklert online buy cernos capsules buy modafinil 200mg zenegra 100mg buy sildigra xl plus online buy omeprazole online duprost 0.5mg buy generic rogaine shampoo ranitidine zantac baclofen naltima for sale bortenat buy tadalafil 20mg bupron sr for sale buy tadalafil buy melanocyl buy cilostazol 100mg bimatoprost opthalmic drops prednisolone cialis super active 20mg buy zithromax online avana buy generic ampicillin order penegra order prosteride vardenafil buy generic veenat buy flagyl buy viread 300mg vega order caverta buy malegra professional buy generic fertyl super order sustanon buy auvitra terbicip super kamagra for sale buy generic pelosta buy cutivate cream online qutipin for sale sildenafil citrate megalis 20mg buy generic armodafinil septra buy finasteride order tadacip order tadarise buy generic gefitinib atomoxetine hydrochloride xenical 120mg buy verdenafil online buy fludrocortisone buy nexium online