About This Book "Ruby Programming" is a textbook for high school and college students; it covers all essential Ruby language knowledge . You can learn complete primary skills of Ruby programming fast and easily . The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam . "Ruby Programming" is a useful textbook for beginners . The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book . You will be impressed by its distinctive and tidy writing style . Reading this book is a great enjoyment! Note This book is only suitable for Ruby programming beginners, high school students and college students; it is not for the experienced Ruby programmers . Table of Contents Chapter 1 Ruby Introduction The First Ruby Program Install Ruby ...... Chapter 2 Method Call a Method Method with Parameters (1) Method with Parameters (2) ...... Chapter 3 Variables Global Variable Instance Variable ...... Chapter 4 If Statement If-else Statement If-elseif Statement ...... Chapter 5 String Multi-Line String (1) Multi-Line String (2) ...... Chapter 6 Array Create an Array The Value of Elements ...... Chapter 7 Set Date Get Date Set Time Get Time ...... Chapter 8 File Create File Object (1) Create File Object (2) ...... Ruby Q & A Questions Answers
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.