作者:Michael Fitzgerald
出版日期:July 18, 2007
出版社:O'Reilly
页数:176
ISBN:ISBN-10: 0596514816 ISBN-13: 978-0596514815
文件格式:PDF
Although Ruby is an easy language to learn, in the heat of actionyou may find that you can’t remember the correct syntax for aconditional or the name of a method. This handy pocket reference offersbrief yet clear explanations of Ruby’s core components, from operatorsto reserved words to data structures to method syntax, highlightingthose key features that you’ll likely use every day when coding Ruby.
Whether you’ve come to Ruby because of the Rails web developmentframework –Ruby’s killer app — or simply because it’s a relativelyclean, powerful and expressive language that’s useful for a lot ofapplications, the Ruby Pocket Reference is organized to helpyou find what you need quickly. This book not only will get you up tospeed on how Ruby works, it provides you with a handy reference you canuse anywhere, anytime.
In this book, you find essential information on:
Reserved words, operators, comments, numbers, variables, ranges, and symbolsPredefined variables andglobal constantsConditional statements, method use, classes, and modules (mixins)Lists of methods from the Object, String, Array, and Hash classes and the Kernel modulesprintf andtime formatting directoriesInteractive Ruby (irb) and the Ruby debuggerRuby documentationYou also get information on the RubyGems package utility and Rake, abuild tool similar to make.. If you’re using Ruby daily and just wantthe facts-fast-Ruby Pocket Reference is your book.
About the Author
Michael Fitzgerald, author of “Learning Ruby”, describes Ruby as “myfavorite language so far” and is working regularly with Ruby and theRails framework. Mike’s enjoyed the Pragmatic Studios Rails course, andhas developed a library of sample Ruby code. He is the author of“Learning XSLT” and “XML Hacks”, and co-author of the “XML PocketReference”.