My Account Log in

1 option

Ruby pocket reference / Michael Fitzgerald.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Fitzgerald, Michael, 1957-
Language:
English
Subjects (All):
Object-oriented programming (Computer science).
Ruby (Computer program language).
Physical Description:
1 online resource (178 p.)
Edition:
First edition.
Place of Publication:
2009.
Sebastopol, California : O'Reilly, 2007.
Language Note:
English
System Details:
text file
Summary:
Although Ruby is an easy language to learn, in the heat of action you may find that you can't remember the correct syntax for a conditional or the name of a method. This handy pocket reference offers brief yet clear explanations of Ruby's core components, from operators to reserved words to data structures to method syntax, highlighting those key features that you'll likely use every day when coding Ruby. Whether you've come to Ruby because of the Rails web development framework --Ruby's killer app -- or simply because it's a relatively clean, powerful and expressive language
Contents:
Contents; Ruby Pocket Reference; Conventions Used in This Book; Comments and Questions; Acknowledgments; Running Ruby; Running the Ruby Interpreter; Using a Shebang Line on Unix/Linux; Associating File Types on Windows; Reserved Words; Operators; Comments; Numbers; Variables; Local Variables; Instance Variables; Class Variables; Global Variables; Constants; Parallel Assignment of Variables; Symbols; Predefined Variables; Pseudovariables; Global Constants; Ranges; Methods; Parentheses; Return Values; Method Name Conventions; Default Arguments; Variable Arguments; Aliasing Methods; Blocks
The yield statementProcs; Conditional Statements; The if Statement; Negation; Multiple tests; Statement modifier for if; The else statement; The elsif statement; The unless Statement; Statement modifier for unless; The while Statement; Statement modifier for while; The until Statement; Statement modifier for until; The case Statement; The for Loop; The Ternary Operator; Executing Code Before or After a Program; Classes; Instance Variables; Accessors; Class Variables; Class Methods; Singletons; Inheritance; Load path; Public, Private, or Protected; Modules and Mixins; Files
Creating a New FileOpening an Existing File; ARGV and ARGF; Renaming and Deleting Files; File Inquiries; File Modes and Ownership; The IO Class; Exception Handling; The rescue and ensure Clauses; The raise Method; The catch and throw Methods; Object Class; Object Instance Methods; Kernel Module; Sprintf flags and field types; String Class; Expression Substitution; General Delimited Strings; Here Documents; Escape Characters; Character Encoding; Regular Expressions; String Methods; String class methods; String instance methods; String unpack directives; Array Class; Creating Arrays
Array Class MethodsArray Instance Methods; Array pack directives; Hash Class; Creating Hashes; Hash Class Methods; Hash Instance Methods; Time Formatting Directives; Interactive Ruby (irb); Ruby Debugger; Ruby Documentation; RDoc Options; RubyGems; Rake; Ruby Resources; Glossary; Index
Notes:
Description based upon print version of record.
Includes bibliographical references and index.
Description based on print version record.
ISBN:
9780596517632
0596517637
9780596551742
0596551746
OCLC:
172621850

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account