[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-673335-105":59,"doc-detail-673335-en":129},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","the-book-of-ruby-introduction-getting-started-with-ruby-how-to-read-this-book","THE BOOK OF RUBY - Introduction - Getting Started With Ruby - How to Read This Book","","Guide to Ruby programming centered on the challenges hidden behind its seemingly simple syntax. Explains how the book is structured into chapter themes with ready-to-run example programs, how readers can follow a sequence or cherry-pick topics, and how “Digging Deeper” sections provide deeper understanding of Ruby internals. Covers the book’s focus on Ruby 1.8.x while noting relationships to Ruby 1.9 and later compatibility expectations, and introduces Ruby and Rails concepts.",{"@graph":69,"@context":121},[70,84,104],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/the-book-of-ruby-introduction-getting-started-with-ruby-how-to-read-this-book/673335/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/the-book-of-ruby-introduction-getting-started-with-ruby-how-to-read-this-book/673335.png","ImageObject",300,407,{"name":92,"@type":93},"Asher","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-02",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What is the main purpose of the book’s introduction?","Question",{"text":111,"@type":112},"It aims to help readers avoid common pitfalls in Ruby’s syntax and guide them safely through Ruby’s features and class libraries.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"How is the book structured for learning?",{"text":116,"@type":112},"Chapters are divided into small chunks by theme and sub-topics, and each programming topic includes one or more self-contained, ready-to-run Ruby programs.",{"name":118,"@type":109,"acceptedAnswer":119},"What Ruby versions does the book primarily cover?",{"text":120,"@type":112},"It concentrates on version 1.8.x, notes that 1.9 has been released as a stepping stone toward 2.0, and warns that full compatibility is not guaranteed.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},673335,1793630685,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":138,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":128,"read_time":143},687197207639,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","THE BOOK OF RUBY  \nHUW COLLINGBOURNE  \nCopyright © 2009 Huw Collingbourne  \nThe right of Huw Collingbourne to be identified as the Author of the Work has been asserted by him in accordance with the Copyright, Designs and Patents Act  \n1988.  \nAll rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, nor be otherwise circulated in any form of binding or cover other than that in which it is published and without a similar condition being imposed on the subsequent purchaser.  \nAuthor’s web site: [http://www.sapphiresteel.com/](http://www.sapphiresteel.com/)  \nABOUT THE AUTHOR  \nHuw Collingbourne is Technology Director of SapphireSteel Software ([http://www.sapphiresteel.com/](http://www.sapphiresteel.com/)), developers of the ‘Ruby In Steel’ Ruby and Rails IDE for Visual Studio and the ‘Amethyst’ IDE for Adobe Flex. Huw is a well known technology writer in the UK and has written numerous opinion and programming columns, including tutorials on C\\#, Delphi, Java, Smalltalk and Ruby for a number of computer magazines such as Computer Shopper, PC Pro and PC Plus. He is author of the free ebook, The Little Book Of Ruby, and is the editor the online computing magazine, Bitwise ([www.bitwisemag.com](www.bitwisemag.com)). Huw hasan MA in English from the University of Cambridge.  \nTHE BOOK OF RUBY  \nINTRODUCTION  \nGetting Started With Ruby  \nAs you are now reading a book on Ruby, I think it is safe to work on the assumption that you don’t need me to persuade you of the merits of the Ruby language. Instead I’ll take the somewhat unconventional step of starting with a warning: many people are attracted to Ruby by its simple syntax and its ease of use. They are wrong. Ruby’s syntax may look simple at first sight but, the more you get to know the language the more you will realize that it is, on the contrary, extremely complex. The plain fact of the matter is that Ruby has a number of pitfalls just waiting for unwary programmers to drop into.  \nIn this book it is my aim to guide you safely over the pitfalls and lead you through the choppy waters of Ruby’s syntax and class libraries. In the process, I’ll be exploring both the smooth, well-paved highways and the gnarlier, bumpy little byways of Ruby. By the end of the journey, you should be able to use Ruby safely and effectively without getting caught out by any unexpected hazards along the way.  \nThe Book Of Ruby concentrates principally on version 1.8.x of the Ruby language. While a version 1.9 of Ruby has been released, Ruby 1.8 is still far more widely used. Ruby 1.9 may be regarded as a stepping stone towards Ruby 2.0. Inmost respects the syntax of Ruby 1.9 is close to that of Ruby 1.8 but you should be aware that there are some differences and complete compatibility is not guaranteed.  \nHOW TO READ THIS BOOK  \nThe book is divided up into bite-sized chunks. Each chapter introduces a theme which is subdivided into sub-topics. Each programming topic is accompanied by one or more small self-contained, ready-to-run Ruby programs.  \nIf you want to follow a well-structured ‘course’, read each chapter in sequence. If you prefer a more hands-on approach, you can run the programs first and refer to the text when you need an explanation. If you already have some experience of Ruby, feel free to cherry-pick topics in any order that you find useful. There are no monolithic applications in this book so you don’t have to worry that you might ‘lose the plot’ if you read the chapters out of order!  \nDIGGING DEEPER  \nEvery chapter apart from the first includes a section called ‘Digging Deeper’. This is where we explore specific aspects of Ruby (including a few of those gnarly byways I mentioned a moment ago) in greater depth. In many cases you could skip the Digging Deeper sections and still learn all the Ruby you will ever need. On the other hand, it is in the Digging","cbCaiiGd99ol2pLa","https://ap.wps.com/l/cbCaiiGd99ol2pLa","pdf",3072340,425,"English","# Introduction\n## Getting Started With Ruby\n## How to Read This Book\n## Digging Deeper\n## Making Sense of the Text\n# Ruby and Rails\n## What Is Ruby?\n## What Is Rails?\n## Download Ruby","[{\"question\":\"What is the main purpose of the book’s introduction?\",\"answer\":\"It aims to help readers avoid common pitfalls in Ruby’s syntax and guide them safely through Ruby’s features and class libraries.\"},{\"question\":\"How is the book structured for learning?\",\"answer\":\"Chapters are divided into small chunks by theme and sub-topics, and each programming topic includes one or more self-contained, ready-to-run Ruby programs.\"},{\"question\":\"What Ruby versions does the book primarily cover?\",\"answer\":\"It concentrates on version 1.8.x, notes that 1.9 has been released as a stepping stone toward 2.0, and warns that full compatibility is not guaranteed.\"}]","THE BOOK OF RUBY - Introduction - Getting Started With Ruby - How to Read This Book | PDF",1071]