The Little Book Of Ruby ©2006 (Huw Collingbourne)
January 4th, 2008 | posted by adminTable 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
- YAML
- Files
- Moving On…
To Download this E-Book Click Here.













Recent comments
7 weeks 6 hours ago
11 weeks 5 days ago
12 weeks 5 days ago
12 weeks 6 days ago
12 weeks 6 days ago
23 weeks 5 days ago
23 weeks 6 days ago
24 weeks 1 day ago
24 weeks 5 days ago
24 weeks 5 days ago