Publisher: O'Reilly Media Released: May 2007 Pages: 260
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. Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book: - Outlines many of the most important features of Ruby
- Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions
- Describes how to use operators, basic math, functions from the Math module, rational numbers, etc.
- Talks you through Ruby arrays, and demonstrates hashes in detail
- Explains how to process files with Ruby
- Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP)
- Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics
- Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial.
Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys. |
- Title:
- Learning Ruby
- By:
- Michael Fitzgerald
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2007
- Ebook:
- December 2008
- Pages:
- 260
- Print ISBN:
- 978-0-596-52986-4
- | ISBN 10:
- 0-596-52986-4
- Ebook ISBN:
- 978-0-596-15964-1
- | ISBN 10:
- 0-596-15964-1
|
-
Michael Fitzgerald Michael Fitzgerald describes Ruby as "my favorite language so far" and is working regularly with Ruby and the Rails framework. He has written over 150 Ruby programs for testing and demonstration, and has been developing a library of sample Ruby code. He is the author of Learning XSLT and XML Hacks, and co-author on the XML Pocket Reference. View Michael Fitzgerald's full profile page. |
Colophon The animals on the cover of Learning Ruby are giraffes (Giraffa camelopardalis), the tallest of all land animals. A giraffe can reach 16 to 18 feet in height and weigh up to 3,000 pounds. Its species name, camelopardalis, is derived from an early Roman name, which described the giraffe as resembling both a camel and a leopard. The spots that cover its body act as camouflage in the African savanna. Its long neck and tough, prehensile tongue allow it to feed in treetops, consuming about 140 pounds of leaves and twigs daily. And its complex cardiovascular system and 24-pound heart regulate circulation throughout its tremendous body: in the upper neck, a pressure-regulation system prevents excess blood flow to the brain when the giraffe lowers its head to drink, while thick sheaths of skin on the lower legs maintain high extravascular pressure to compensate for the weight of the fluid pressing down on them. Giraffes travel in herds comprised of about a dozen females, one or two males, and their young. Other males may travel alone, in pairs, or in bachelor herds. Male giraffes determine female fertility by tasting the female's urine to detect estrus. Yet sexual relations in male giraffes are most frequently homosexual: the proportion of same-sex courtships varies between 30 and 75 percent. Among females, homosexual mounting appears to comprise only 1 percent of all incidents. Gestation lasts between 14 and 15 months, after which a single calf is born. Only 25 to 50 percent of calves reach adulthood, as the giraffe's predators--including lions, leopards, hyenas, and African wild dogs--mainly prey on young. Giraffes use their long necks and keen sense of smell, hearing, and eyesight to guard against attacks. They can reach speeds of up to 30 miles per hour and fight off predators using their muscular hind legs. A single kick from an adult giraffe can shatter a lion's skull. Giraffes were once hunted for their skin and tail but are currently a protected species. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Arnold Robbins, Elbert Hannah, Linda Lamb
July 2008
Ebook: $27.99
Print & Ebook: $38.49
Print: $34.99
By Chris Seibold
April 2008
Ebook: $27.99
Print & Ebook: $38.49
Print: $34.99
By Chuck Toporek
November 2007
Ebook: $11.99
Print & Ebook: $16.49
Print: $14.99
|
Customer Reviews
11/16/2010 (4 of 4 customers found this review helpful) 3.0A good start, but needs work By Forrest from Cambridge, MA - Concise
- Easy to understand
- Helpful examples
6/2/2008 (1 of 1 customers found this review helpful) 4.0A good introduction, with a few annoying errors By Forrest from Undisclosed 1/31/2008 (1 of 1 customers found this review helpful) 3.0Read the description and you'll get what you want from this book By Matt Polito from Undisclosed 1/1/2008 (2 of 3 customers found this review helpful) By ShiroNanami from Undisclosed 10/2/2007 4.0Should be titled: Learning Ruby *Fast* By Scott Schram from Undisclosed By Anonymous from Undisclosed By Virgininan from Undisclosed 9/9/2007 4.0An introduction to Ruby By Anonymous from Undisclosed By Dave Walz-Burkett from Undisclosed
|
|
|