Ruby in a Nutshell


Yukihiro. Matsumoto
Bok Engelsk 2001 · Electronic books.
Annen tittel
Utgitt
Sebastopol : : O'Reilly Media, , 2001.
Omfang
1 online resource (220 p.)
Opplysninger
Description based upon print version of record.. - Foreword; Table of Contents; Preface; How This Book Is Organized; Conventions Used in This Book; Comments and Questions; Acknowledgments; Introduction; Ruby's Elegance; Ruby in Action; Language Basics; Command-Line Options; Environment Variables; Lexical Conventions; Whitespace; Line Endings; Comments; Identifiers; Reserved Words; Literals; Numbers; Integers; Floating-point numbers; Strings; String concatenation; Expression substitution; Backslash notation; General delimited strings; here documents; Symbols; Arrays; General delimited string array; Hashes; Regular Expressions. - Complex. - NilClassTrueClass; FalseClass; Data; Marshal; Range; Struct; Time; Standard Library Reference; Standard Library; Network; BasicSocket; IPSocket; UDPSocket; TCPSocket; TCPServer; UNIXSocket; UNIXServer; Socket; Net::FTP; Net::HTTP; Net::IMAP; Net::POP3; Net::APOP; Net::POPMail; Net::SMTP; Net::Telnet; CGI; CGI::Cookie; CGI::Session; Operating System Services; Curses; Curses::Window; Etc; Fcntl; Find; ftools; GetoptLong; PTY; Readline; Tempfile; Win32API; Threads; ConditionVariable; Monitor; MonitorMixin; Mutex; Queue; SizedQueue; ThreadsWait; Data Persistence; DBM; GDBM; SDBM; PStore; Numbers. - Predefined Global ConstantsBuilt-in Functions; Built-in Library; Objects; Object; Kernel; Strings and Regular Expressions; String; Regexp; MatchData; Arrays and Hashes; Array; Hash; Enumerable; Numbers; Numeric; Integer; Fixnum; Bignum; Float; Precision; Comparable; Math; Operating System Services; IO; File; File::Stat; FileTest; Dir; Process; Threads; Thread; ThreadGroup; Exceptions; Exception; Errno; Built-in Exceptions; Classes and Modules; Module; Class; Proc Objects and Bindings; Proc; Method; UnboundMethod; Binding; Continuation; Miscellaneous Classes and Modules; GC; ObjectSpace. - Regular-expression modifiersRegular-expression patterns; Variables; Global Variables; Instance Variables; Class Variables; Local Variables; Constants; Pseudo-Variables; Assignment; Parallel Assignment; Abbreviated Assignment; Operators; Operator Expressions; Nonmethod operators; Range operators; Logical operators; Ternary operator; defined? operator; Methods; Normal Method Calls; Specifying Blocks with Method Calls; def Statement; Singleton Methods; def Statement for Singleton Methods; Method Operations; alias Statement; undef Statement; Other Method-Related Statements; yield Statement. - super StatementControl Structures; if Statement; unless Statement; case Statement; while Statement; until Statement; for Statement; break Statement; next Statement; redo Statement; retry Statement; begin Statement; rescue Statement; raise method; BEGIN Statement; END Statement; Object-Oriented Programming; Classes and Instances; class Statement; Methods; Singleton Classes; Modules; module Statement; Mix-ins; Method Visibility; Object Initialization; Attributes; Hooks; Security; Restricted Execution; Level 0; Level 1; Level 2; Level 3; Level 4; Built-in Library Reference; Predefined Variables. - Ruby is an absolutely pure object-oriented scripting language written in C and designed with Perl and Python capabilities in mind. While its roots are in Japan, Ruby is slowly but surely gaining ground in the US. The goal of Yukihiro Matsumoto, creator of Ruby and author of this book, is to incorporate the strengths of languages like Perl, Python, Lisp and Smalltalk. Ruby is a genuine attempt to combine the best of everything in the scripting world. Since 1993, Ruby mailing lists have been established, Web pages have formed, and a community has grown around it. The language
Emner
Sjanger
Dewey
ISBN
0596002149

Bibliotek som har denne