The Ruby programming language

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team: David Flanagan, bestselling author of programming language ""bibles"" (including J...

Descripción completa

Detalles Bibliográficos
Autor principal: Flanagan, David (-)
Otros Autores: Matsumoto, Yukihiro
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing : O'Reilly 2008.
2008.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627414706719
Tabla de Contenidos:
  • Introduction
  • A Tour of Ruby
  • Try Ruby
  • About This Book
  • A Sudoku Solver in Ruby
  • The Structure and Execution of Ruby Programs
  • Lexical Structure
  • Syntactic Structure
  • File Structure
  • Program Encoding
  • Program Execution
  • Datatypes and Objects
  • Numbers
  • Text
  • Arrays
  • Hashes
  • Ranges
  • Symbols
  • True, False, and Nil
  • Objects
  • Expressions and Operators
  • Literals and Keyword Literals
  • Variable References
  • Constant References
  • Method Invocations
  • Assignments
  • Operators
  • Statements and Control Structures
  • Conditionals
  • Loops
  • Iterators and Enumerable Objects
  • Blocks
  • Altering Control Flow
  • Exceptions and Exception Handling
  • BEGIN and END
  • Threads, Fibers, and Continuations
  • Methods, Procs, Lambdas, and Closures
  • Defining Simple Methods
  • Method Names
  • Methods and Parentheses
  • Method Arguments
  • Procs and Lambdas
  • Closures
  • Method Objects
  • Functional Programming
  • Classes and Modules
  • Defining a Simple Class
  • Method Visibility: Public, Protected, Private
  • Subclassing and Inheritance
  • Object Creation and Initialization
  • Modules
  • Loading and Requiring Modules
  • Singleton Methods and the Eigenclass
  • Method Lookup
  • Constant Lookup
  • Reflection and Metaprogramming
  • Types, Classes, and Modules
  • Evaluating Strings and Blocks
  • Variables and Constants
  • Methods
  • Hooks
  • Tracing
  • ObjectSpace and GC
  • Custom Control Structures
  • Missing Methods and Missing Constants
  • Dynamically Creating Methods
  • Alias Chaining
  • Domain-Specific Languages
  • The Ruby Platform
  • Strings
  • Regular Expressions
  • Numbers and Math
  • Dates and Times
  • Collections
  • Files and Directories
  • Input/Output
  • Networking
  • Threads and Concurrency
  • The Ruby Environment
  • Invoking the Ruby Interpreter
  • The Top-Level Environment
  • Practical Extraction and Reporting Shortcuts
  • Calling the OS
  • Security.