Title Statements
- Full title :Ruby pocket reference / Michael Fitzgerald.
Summary
Updated for Ruby 2.2, this handy reference offers brief yet clear explanations of Ruby's core elements--from operators to blocks to documentation creation--and highlights the key features you may work with every day. Need to know the correct syntax for a conditional? Forgot the name of that String method? This book is organized to help you find the facts fast . This pocket reference is ideal for experienced programmers who are new to Ruby.
Read More ↓Edition Statements
- Publication Date:2015.
- Edition:Second edition
Publication Statements
- Publisher(s):O'Reilly
- Place of Publication:Beijing
- Language:eng
- Publication Date:2015.
The Physical Object
- Description:1 online resource
Edition Identifiers
- ISBN:9781491925997, 149192599X, 9781491925973, 1491925973
- oclc:ocn917888766
- LC Classification:QA76.73.R83
- Dewey Decimal:005.1/17
Table of Contents
Copyright; Table of Contents; Ruby Pocket Reference; Introduction; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Running Ruby; Running the Ruby Interpreter; Interactive Ruby (irb); Using a Shebang Comment on Unix/Linux; Associating File Types on Windows; Ruby's Keywords; Ruby's Operators; Comments; Numbers; Variables; Local Variables; Instance Variables; Class Variables; Global Variables; Constants; Parallel Variable Assignment; Symbols; Predefined Global Variables; Keyword Literals; Global Constants; Ranges; Methods.
Block ArgumentsReturn Values; Method Name Conventions; Default Arguments; Variable Arguments; Aliasing Methods; Blocks; Procs; Conditional Statements; Flow Control; The if Statement; The unless Statement; The while Statement; The until Statement; The case Statement; The for Loop; The Conditional Operator; Executing Code Before or After a Program; Classes; Reopening a Ruby Class; Instance Variables; Accessors; Class Variables; Class Methods; Singletons; Inheritance; Abstract Classes; Anonymous Classes; Public, Private, and Protected; Modules and Mixins; Files; Creating a New File.
Opening an Existing Fi…
Rate & Review