The Ruby Programming Language: Everything You Need to Know"O'Reilly Media, Inc.", 25 de jan. de 2008 - 448 páginas 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:
The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities. The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language. |
Conteúdo
25 | |
Chapter 3 Datatypes and Objects | 41 |
Chapter 4 Expressions and Operators | 85 |
Chapter 5 Statements and Control Structures | 117 |
Chapter 6 Methods Procs Lambdas and Closures | 175 |
Chapter 7 Classes and Modules | 213 |
Chapter 8 Reflection and Metaprogramming | 265 |
Chapter 9 The Ruby Platform | 303 |
Chapter 10 The Ruby Environment | 389 |
415 | |
Outras edições - Ver todos
Termos e frases comuns
alias allows argument ASCII binary Boolean bytes chapter characters class defines class method class or module class variables constant create defines a method delimiter eigenclass elements end def end end evaluated example exception exception object executed exit external encoding false fiber filename Fixnum following code global variables hash hello implementation inherited input instance methods instance variables integer invoked iterator method JRuby Kernel keyword lambda language load loop lvalue match memoize metaprogramming method defined method invocation method named method returns modifier Mutex newline Note operand operator option output parallel assignment parentheses passed Point class private methods Proc object puts raise Regexp regular expression require rescue clause return statement return value returns nil righthand Ruby interpreter Ruby program Ruby’s RubyGems rvalue singleton methods socket specified statement stream string literal subclass superclass symbol synonym syntax thread Unicode write yield