Ruby by Example: Concepts and Code

Authors: Baird, Kevin C.
Publisher: No Starch Press
BISAC/Subject: COM051210, COM051410, COM051390
ISBN: 9781593271602, Related ISBNs: 1593271484, 1593271603, 9781593271480, 9781593271602
Classification: Non-Fiction
Number of pages: 312,
Audience: General/trade
Synopsis: There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book.

You'll learn how to:
–Use the interactive Ruby shell (irb) to learn key features of the language
–Extend Ruby using RubyGems, the Ruby package manager
–Create numerical utilities, as well as utilities that process and analyze HTML/XML
–Implement purely functional and metaprogramming techniques to save time and effort
–Optimize, profile, and test your code to make sure that it not only does its job, but does it well
–Create web applications using Rails

Ruby is the fastest growing programming language today, and for good reason: its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.
Sign up for our literacy platform for reading at home

LightSail includes up to 6,000 high interest, Lexile aligned book titles with every student subscription. Other titles are available for individual purchase.

Watch the power of

Lightsail in action

×

SUPPORT GROWING READERS

Immediately Engage Students
Immediately Engage Students
Simple intuitive design has classrooms reading within minutes.
Exponentially Grow Reading Time
Exponentially Grow Reading Time
Students love the LightSail experience and naturally spend more time reading.
Accelerate Literacy Development
Accelerate Literacy Development
Students reading 25 minutes a day on LightSail are seeing 2+ years of Lexile growth in a single year.

LightSail Education is a comprehensive Lexile and standards-aligned, literacy platform and digital e-book library. Including multimodal learning functionality and featuring books from leading publishers, LightSail holistically assesses and nurtures each student on their reading and writing-to-learn journey, throughout elementary, middle, and high school.

*LightSail offers a 2,000 or a 6,000 title bundle with its student subscriptions. Other titles are available for individual purchase.