Learning Ruby: The Language that Powers Rails"O'Reilly Media, Inc.", 14.05.2007 - 260 Seiten You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book -- a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road.
|
Im Buch
Ergebnisse 1-5 von 21
Der Inhalt dieser Seite ist beschränkt..
... Review Questions 22 2. A Quick Tour of Ruby ... Review Questions 45 3. Conditional Love . . . . . . . vii Table of Contents.
... Review Questions 59. 4. Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60. Creating Strings 60 Concatenating Strings 63 Accessing Strings 63 Comparing Strings ...
... Review Questions 105. 7. Hashes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107. Creating Hashes 107 Accessing Hashes 108 Iterating over Hashes 109 Changing Hashes ...
... Review Questions 138 10. More Fun with Ruby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Formatting Output with sprintf 139 Processing XML 142 Date and Time 147 Reflection 151 Using Tk ...
Inhalt
Ruby Basics | 1 |
A Quick Tour of Ruby | 23 |
Conditional Love | 47 |
Strings | 60 |
Math | 79 |
Arrays | 93 |
Hashes | 107 |
Working with Files | 115 |
Classes | 125 |
More Fun with Ruby | 139 |
A Short Guide to Ruby on Rails | 175 |
Ruby Reference | 195 |
Answers to Review Questions | 214 |
Glossary | 219 |
227 | |