Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide

ISBN-10: 1937785491
ISBN-13: 9781937785499
Edition: 2013
List price: $50.00 Buy it from $33.34
This item qualifies for FREE shipping

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy

Description: Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox. This book is the only complete reference for both Ruby 1.9 and Ruby 2.0, the very  More...

Used Starting from $33.34
New Starting from $36.65
what's this?
Rush Rewards U
Members Receive:
coins
coins
You have reached 400 XP and carrot coins. That is the daily max!
You could win $10,000

Get an entry for every item you buy, rent, or sell.

Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
Medical Terminology Online content $4.95 $1.99
Add to cart
Study Briefs
Medical Math Online content $4.95 $1.99
Add to cart
Study Briefs
Careers in Medical Assisting Online content $4.95 $1.99

Customers also bought

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Book details

List price: $50.00
Copyright year: 2013
Publisher: Oreilly & Associates Inc
Binding: Paperback
Pages: 888
Size: 7.25" wide x 9.00" long x 1.50" tall
Weight: 3.652
Language: English

Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox. This book is the only complete reference for both Ruby 1.9 and Ruby 2.0, the very latest version of Ruby. 2013 marks the 20th anniversary of the Ruby language. We're proud that throughout its history, we've continued to cover the latest version of Ruby.Would you like to go from first idea to working code much, much faster? Do you currently spend more time satisfying the compiler instead of your clients or end users? Are you frustrated with demanding languages that seem to get in your way, instead of getting the work done? Are you using Rails, and want to dig deeper into the underlying Ruby language? If so, then we've got a language and book for you!Ruby is a fully object-oriented language, much like the classic object-oriented language, Smalltalk. Like Smalltalk, it is dynamically typed (as opposed to Java or C++), but unlike Smalltalk, Ruby features the same conveniences found in modern scripting languages such as Perl and Python.The combination of the power of a pure object-oriented language with the convenience of a scripting language makes Ruby a favorite tool of intelligent, forward-thinking programmers.The Pickaxe contains four major sections: An acclaimed tutorial on using Ruby. The definitive reference to the language. Complete documentation of all built-in classes, modules, and methods. Complete descriptions of all 97 standard libraries.This is the reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including all the new and changed methods introduced by Ruby 1.9, 1.9.2, 1.9.3, and 2.0). It also includes all the new and changed syntax and semantics introduced since Ruby 1.8. Learn about the new parameter passing rules, local variable scoping in blocks, fibers, and the new block declaration syntax, among other exciting new features. About Ruby 2.0 Ruby 2.0 is a minor update to Ruby 1.9, unlike the more major updates from Ruby 1.8 to Ruby 1.9.The major language changes in Ruby 2.0 are the addition of keyword arguments and the change to use UTF-8 as the default source file encoding.There are a number of additions to the standard library, including: @Enumerator::Lazy@, which adds support for lazy access to potentially infinite lists. Refinements allow you to encapsulate changes to third-party classes, and scope their application to individual source files, preventing your changes from polluting the global application.You'll also find that Ruby 2 is faster, and has memory management improvements that make it more server-friendly.All told, there are over 110 sections of the book that have been flagged and cross-linked to indicate 2.0 content. What You Need This book assumes you have a basic understanding of object-oriented programming. In general, Ruby programmers tend to favor the the command line for running their code, and they tend to use text editors rather than IDEs.* Ruby runs on Windows, Linux, and Macs.

Foreword to the Third Edition
Preface
Road Map
Facets of Ruby
Getting Started
The Command Prompt
Installing Ruby
Running Ruby
Ruby Documentation: RDoc and ri
Ruby.new
Ruby Is an Object-Oriented Language
Some Basic Ruby
Arrays and Hashes
Symbols
Control Structures
Regular Expressions
Blocks and Iterators
Reading and 'Riting
Command-Line Arguments
Onward and Upward
Classes, Objects, and Variables
Objects and Attributes
Classes Working with Other Classes
Access Control
Variables
Containers, Blocks, and Iterators
Arrays
Hashes
Blocks and Iterators
Containers Everywhere
Sharing Functionality: Inheritance, Modules, and Mixins
Inheritance and Messages
Modules
Mixins
Iterators and the Enumerable Module
Composing Modules
Inheritance, Mixins, and Design
Standard Types
Numbers
Strings
Ranges
Regular Expressions
What Regular Expressions Let You Do
Ruby's Regular Expressions
Digging Deeper
Advanced Regular Expressions
More About Methods
Defining a Method
Calling a Method
Expressions
Operator Expressions
Miscellaneous Expressions
Assignment
Conditional Execution
Case Expressions
Loops
Variable Scope, Loops, and Blocks
Exceptions, catch, and throw
The Exception Class
Handling Exceptions
Raising Exceptions
catch and throw
Basic Input and Output
What Is an IO Object?
Opening and Closing Files
Reading and Writing Files
Talking to Networks
Parsing HTML
Fibers, Threads, and Processes
Fibers
Multithreading
Controlling the Thread Scheduler
Mutual Exclusion
Running Multiple Processes
Unit Testing
The Testing Framework
Structuring Tests
Organizing and Running Tests
RSpec and Shoulda
Test::Unit assertions
When Trouble Strikes!
Ruby Debugger
Interactive Ruby
Editor Support
But It Doesn't Work!
But Ifs Too Slow!
Ruby in Its Setting
Ruby and Its World
Command-Line Arguments
Program Termination
Environment Variables
Where Ruby Finds Its Libraries
RubyGems Integration
The Rake Build Tool
Build Environment
Namespaces, Source Files, and Distribution
Namespaces
Organizing Your Source
Distributing and Installing Your Code
Character Encoding
Encodings
Source Files
Transcoding
Input and Output Encoding
Default External Encoding
Encoding Compatibility
Default Internal Encoding
Fun with Unicode
Interactive Ruby Shell
Command Line
Commands
Documenting Ruby
Adding RDoc to Ruby Code
Adding RDoc to C Extensions
Running RDoc
Ruby source file documented with RDoc
C source file documented with RDoc
Ruby and the Web
Writing CGI Scripts
Using cgi.rb
Templating Systems
Cookies
Choice of Web Servers
Frameworks
Ruby and Microsoft Windows
Running Ruby Under Windows
Win32API
Windows Automation
Ruby Crystallized
The Ruby Language
Source File Encoding
Source Layout
The Basic Types
Names
Variables and Constants
Expressions, Conditionals, and Loops
Method Definition
Invoking a Method
Aliasing
Class Definition
Module Definitions
Access Control
Blocks, Closures, and Proc Objects
Exceptions
catch and throw
Duck Typing
Classes Aren't Types
Coding like a Duck
Standard Protocols and Coercions
Walk the Walk, Talk the Talk
Metaprograrruning
Objects and Classes
Singletons
Inheritance and Visibility
Modules and Mixins
Metaprogramrriing Class-Level Macros
Two Other Forms of Class Definition
instance_eval and class_eval
Hook Methods
One Last Example
Top-Level Execution Environment
The Turtle Graphics Program
Reflection, ObjectSpace, and Distributed Ruby
Looking at Objects
Looking at Classes
Calling Methods Dynamically
System Hooks
Tracing Your Program's Execution
Behind the Curtain: The Ruby VM
Marshaling and Distributed Ruby
Compile Time? Runtime? Anytime!
Locking Ruby in the Safe
Safe Levels
Tainted Objects
Trusted Objects
Definition of the safe levels
Ruby Library Reference
Built-in Classes and Modules
Standard Library
Support
Web Sites
Usenet Newsgroup
Mailing Lists
Bug Reporting
Bibliography
Index

×
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.

×