Why's (poignant) Guide To Ruby
   HOME

TheInfoList



OR:

''why's (poignant) Guide to Ruby'', sometimes called ''w(p)GtR'' or just "the poignant guide", is an introductory book to the
Ruby programming language Ruby is a general-purpose programming language. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types. It was developed in the mid-1990s by Yukihiro "Mat ...
, written by
why the lucky stiff Jonathan Gillette, known by the pseudonym why the lucky stiff (often abbreviated as _why), is a writer, cartoonist, artist, and programmer notable for his work with the Ruby (programming language), Ruby programming language. Annie Lowrey descri ...
. The book is distributed under the
Creative Commons Creative Commons (CC) is an American non-profit organization and international network devoted to educational access and expanding the range of creative works available for others to build upon legally and to share. The organization has release ...
Attribution-ShareAlike license. The book is unusual among programming books in that it includes much strange humor and many narrative side tracks which are sometimes completely unrelated to the topic. Many motifs have become inside jokes in the Ruby community, such as references to the words "chunky bacon". The book includes many characters which have become popular as well, particularly the cartoon
fox Foxes are small-to-medium-sized omnivorous mammals belonging to several genera of the family Canidae. They have a flattened skull; upright, triangular ears; a pointed, slightly upturned snout; and a long, bushy tail ("brush"). Twelve species ...
es and ''Trady Blix'', a large black feline friend of why's, who acts as a guide to the foxes (and occasionally teaches them some Ruby). The book is published in
HTML Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
and
PDF Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
. Chapter three was reprinted in ''The Best Software Writing I: Selected and Introduced by
Joel Spolsky Avram Joel Spolsky (; born 1965) is a software engineer and writer. He is the author of ''Joel on Software'', a blog on software development, and the creator of the project management software Trello. He was a Program Manager on the Microsoft Exc ...
'' (Apress, 2005).


Contents

# About this book # Kon'nichi wa, Ruby # A Quick (and Hopefully Painless) Ride Through Ruby (with Cartoon Foxes): basic introduction to central Ruby concepts # Floating Little Leaves of Code: evaluation and values, hashes and lists # Them What Make the Rules and Them What Live the Dream: case/when, while/until, variable scope, blocks, methods, class definitions, class attributes, objects, modules, introspection in IRB, dup, self, module # Downtown:
metaprogramming Metaprogramming is a computer programming technique in which computer programs have the ability to treat other programs as their data. It means that a program can be designed to read, generate, analyse, or transform other programs, and even modi ...
,
regular expression A regular expression (shortened as regex or regexp), sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
s # When You Wish Upon a Beard: send method, new methods in existing classes The following chapters are "Expansion Packs": # The Tiger's Vest (with a Basic Introduction to IRB): discusses IRB, the interactive Ruby interpreter.


References


External links


Original Site

Actively maintained fork
* 3rd-party PDF version
Ruby Inside
Computer programming books Creative Commons-licensed books Ruby (programming language) Books about free software {{compu-book-stub