Ruby pocket reference
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 met...
Otros Autores: | , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing, [China] :
O'Reilly
2015.
|
Edición: | 2nd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629722106719 |
Tabla de Contenidos:
- ""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 Arguments""; ""Return 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 File""; ""ARGV and ARGF""; ""Renaming and Deleting Files""; ""File Inquiries""; ""File Modes and Ownership""; ""The IO Class""; ""Exception Handling""; ""The rescue and ensure Clauses""; ""The raise Method""; ""The catch and throw Methods""; ""BasicObject Class""; ""BasicObject Public Instance Methods""; ""Object Class""
- ""Object Public Instance Methods""""Kernel Module""; ""String Class""; ""String Literals""; ""String Concatenation""; ""Expression Substitution""; ""General Delimited Strings""; ""Here Documents""; ""Escape Characters""; ""Character Encoding""; ""Regular Expressions""; ""String Methods""; ""Array Class""; ""Creating Arrays""; ""Array Class Methods""; ""Array Instance Methods""; ""Hash Class""; ""Creating Hashes""; ""Hash Class Methods""; ""Hash Instance Methods""; ""Time Formatting Directives""; ""Ruby Documentation""; ""RubyGems""; ""Rake""; ""Ruby Resources""; ""Glossary""; ""Index""