The Ruby Programming Language: [everything you need to know ; covers Ruby 1.8 and 1.9]
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2008
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XI, 429 S. Ill. |
ISBN: | 9780596516178 0596516177 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV023236099 | ||
003 | DE-604 | ||
005 | 20081204 | ||
007 | t | ||
008 | 080402s2008 a||| |||| 00||| eng d | ||
015 | |a 07,N49,0027 |2 dnb | ||
016 | 7 | |a 98638612X |2 DE-101 | |
020 | |a 9780596516178 |c : EUR 38.00 (freier Pr.) |9 978-0-596-51617-8 | ||
020 | |a 0596516177 |c : EUR 38.00 (freier Pr.) |9 0-596-51617-7 | ||
024 | 3 | |a 9780596516178 | |
035 | |a (OCoLC)254186427 | ||
035 | |a (DE-599)DNB98638612X | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-29T |a DE-573 |a DE-1051 |a DE-824 |a DE-523 |a DE-20 |a DE-11 |a DE-19 |a DE-739 |a DE-188 | ||
050 | 0 | |a QA76.64 | |
082 | 0 | |a 005.117 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a Flanagan, David |e Verfasser |0 (DE-588)136960634 |4 aut | |
245 | 1 | 0 | |a The Ruby Programming Language |b [everything you need to know ; covers Ruby 1.8 and 1.9] |c David Flanagan and Yukihiro Matsumoto |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2008 | |
300 | |a XI, 429 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Object-oriented programming (Computer science) | |
650 | 4 | |a Ruby (Computer program language) | |
650 | 0 | 7 | |a Ruby |g Programmiersprache |0 (DE-588)4653817-3 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Ruby |g Programmiersprache |0 (DE-588)4653817-3 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Matsumoto, Yukihiro |d 1965- |e Verfasser |0 (DE-588)139395970 |4 aut | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016421719&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-016421719 |
Datensatz im Suchindex
_version_ | 1804137531253456896 |
---|---|
adam_text | Table of Contents
Preface ix
1. Introduction 1
1.1 A Tour of Ruby 2
1.2 Try Ruby 11
1.3 About This Book 15
1.4 A Sudoku Solver in Ruby 17
2. The Structure and Execution of Ruby Programs 25
2.1 Lexical Structure 26
2.2 Syntactic Structure 33
2.3 File Structure 35
2.4 Program Encoding 36
2.5 Program Execution 39
3. Datatypes and Objects 41
3.1 Numbers 42
3.2 Text 46
3.3 Arrays 64
3.4 Hashes 67
3.5 Ranges 68
3.6 Symbols 71
3.7 True, False, and Nil 72
3.8 Objects 72
4. Expressions and Operators 85
4.1 Literals and Keyword Literals 86
4.2 Variable References 87
4.3 Constant References 88
4.4 Method Invocations 89
4.5 Assignments 92
4.6 Operators 100
¥
5. Statements and Control Structures 117
5.1 Conditionals 118
5.2 Loops 127
5.3 Iterators and Enumerable Objects 130
5.4 Blocks 140
5.5 Altering Control Flow 146
5.6 Exceptions and Exception Handling 154
5.7 BEGIN and END 165
5.8 Threads, Fibers, and Continuations 166
6. Methods, Procs, Lambdas, and Closures 175
6.1 Defining Simple Methods 177
6.2 Method Names 180
6.3 Methods and Parentheses 183
6.4 Method Arguments 185
6.5 Procs and Lambdas 192
6.6 Closures 200
6.7 Method Objects 203
6.8 Functional Programming 205
7. Classes and Modules 213
7.1 Defining a Simple Class 214
7.2 Method Visibility: Public, Protected, Private 232
7.3 Subclassing and Inheritance 234
7.4 Object Creation and Initialization 241
7.5 Modules 247
7.6 Loading and Requiring Modules 252
7.7 Singleton Methods and the Eigenclass 257
7.8 Method Lookup 258
7.9 Constant Lookup 261
8. Reflection and Metaprogramming 265
8.1 Types, Classes, and Modules 266
8.2 Evaluating Strings and Blocks 268
8.3 Variables and Constants 271
8.4 Methods 272
8.5 Hooks 277
8.6 Tracing 279
8.7 ObjectSpace and GC 281
8.8 Custom Control Structures 281
8.9 Missing Methods and Missing Constants 284
8.10 Dynamically Creating Methods 287
8.11 Alias Chaining 290
8.12 Domain-Specific Languages 296
9. The Ruby Platform 303
9.1 Strings 304
9.2 Regular Expressions 310
9.3 Numbers and Math 321
9.4 Dates and Times 325
9.5 Collections 328
9.6 Files and Directories 350
9.7 Input/Output 356
9.8 Networking 366
9.9 Threads and Concurrency 372
10. The Ruby Environment 389
10.1 Invoking the Ruby Interpreter 390
10.2 The Top-Level Environment 394
10.3 Practical Extraction and Reporting Shortcuts 403
10.4 Calling the OS 405
10.5 Security 409
Index 413
|
adam_txt |
Table of Contents
Preface ix
1. Introduction 1
1.1 A Tour of Ruby 2
1.2 Try Ruby 11
1.3 About This Book 15
1.4 A Sudoku Solver in Ruby 17
2. The Structure and Execution of Ruby Programs 25
2.1 Lexical Structure 26
2.2 Syntactic Structure 33
2.3 File Structure 35
2.4 Program Encoding 36
2.5 Program Execution 39
3. Datatypes and Objects 41
3.1 Numbers 42
3.2 Text 46
3.3 Arrays 64
3.4 Hashes 67
3.5 Ranges 68
3.6 Symbols 71
3.7 True, False, and Nil 72
3.8 Objects 72
4. Expressions and Operators 85
4.1 Literals and Keyword Literals 86
4.2 Variable References 87
4.3 Constant References 88
4.4 Method Invocations 89
4.5 Assignments 92
4.6 Operators 100
¥
5. Statements and Control Structures 117
5.1 Conditionals 118
5.2 Loops 127
5.3 Iterators and Enumerable Objects 130
5.4 Blocks 140
5.5 Altering Control Flow 146
5.6 Exceptions and Exception Handling 154
5.7 BEGIN and END 165
5.8 Threads, Fibers, and Continuations 166
6. Methods, Procs, Lambdas, and Closures 175
6.1 Defining Simple Methods 177
6.2 Method Names 180
6.3 Methods and Parentheses 183
6.4 Method Arguments 185
6.5 Procs and Lambdas 192
6.6 Closures 200
6.7 Method Objects 203
6.8 Functional Programming 205
7. Classes and Modules 213
7.1 Defining a Simple Class 214
7.2 Method Visibility: Public, Protected, Private 232
7.3 Subclassing and Inheritance 234
7.4 Object Creation and Initialization 241
7.5 Modules 247
7.6 Loading and Requiring Modules 252
7.7 Singleton Methods and the Eigenclass 257
7.8 Method Lookup 258
7.9 Constant Lookup 261
8. Reflection and Metaprogramming 265
8.1 Types, Classes, and Modules 266
8.2 Evaluating Strings and Blocks 268
8.3 Variables and Constants 271
8.4 Methods 272
8.5 Hooks 277
8.6 Tracing 279
8.7 ObjectSpace and GC 281
8.8 Custom Control Structures 281
8.9 Missing Methods and Missing Constants 284
8.10 Dynamically Creating Methods 287
8.11 Alias Chaining 290
8.12 Domain-Specific Languages 296
9. The Ruby Platform 303
9.1 Strings 304
9.2 Regular Expressions 310
9.3 Numbers and Math 321
9.4 Dates and Times 325
9.5 Collections 328
9.6 Files and Directories 350
9.7 Input/Output 356
9.8 Networking 366
9.9 Threads and Concurrency 372
10. The Ruby Environment 389
10.1 Invoking the Ruby Interpreter 390
10.2 The Top-Level Environment 394
10.3 Practical Extraction and Reporting Shortcuts 403
10.4 Calling the OS 405
10.5 Security 409
Index 413 |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Flanagan, David Matsumoto, Yukihiro 1965- |
author_GND | (DE-588)136960634 (DE-588)139395970 |
author_facet | Flanagan, David Matsumoto, Yukihiro 1965- |
author_role | aut aut |
author_sort | Flanagan, David |
author_variant | d f df y m ym |
building | Verbundindex |
bvnumber | BV023236099 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.64 |
callnumber-search | QA76.64 |
callnumber-sort | QA 276.64 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 ST 253 |
ctrlnum | (OCoLC)254186427 (DE-599)DNB98638612X |
dewey-full | 005.117 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.117 |
dewey-search | 005.117 |
dewey-sort | 15.117 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
discipline_str_mv | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01844nam a2200457 c 4500</leader><controlfield tag="001">BV023236099</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20081204 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">080402s2008 a||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">07,N49,0027</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">98638612X</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596516178</subfield><subfield code="c">: EUR 38.00 (freier Pr.)</subfield><subfield code="9">978-0-596-51617-8</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596516177</subfield><subfield code="c">: EUR 38.00 (freier Pr.)</subfield><subfield code="9">0-596-51617-7</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780596516178</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)254186427</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB98638612X</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-29T</subfield><subfield code="a">DE-573</subfield><subfield code="a">DE-1051</subfield><subfield code="a">DE-824</subfield><subfield code="a">DE-523</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-19</subfield><subfield code="a">DE-739</subfield><subfield code="a">DE-188</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.64</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.117</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Flanagan, David</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)136960634</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">The Ruby Programming Language</subfield><subfield code="b">[everything you need to know ; covers Ruby 1.8 and 1.9]</subfield><subfield code="c">David Flanagan and Yukihiro Matsumoto</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XI, 429 S.</subfield><subfield code="b">Ill.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Object-oriented programming (Computer science)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Ruby (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Ruby</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4653817-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Ruby</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4653817-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Matsumoto, Yukihiro</subfield><subfield code="d">1965-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)139395970</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016421719&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016421719</subfield></datafield></record></collection> |
id | DE-604.BV023236099 |
illustrated | Illustrated |
index_date | 2024-07-02T20:22:14Z |
indexdate | 2024-07-09T21:13:46Z |
institution | BVB |
isbn | 9780596516178 0596516177 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016421719 |
oclc_num | 254186427 |
open_access_boolean | |
owner | DE-29T DE-573 DE-1051 DE-824 DE-523 DE-20 DE-11 DE-19 DE-BY-UBM DE-739 DE-188 |
owner_facet | DE-29T DE-573 DE-1051 DE-824 DE-523 DE-20 DE-11 DE-19 DE-BY-UBM DE-739 DE-188 |
physical | XI, 429 S. Ill. |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | O'Reilly |
record_format | marc |
spelling | Flanagan, David Verfasser (DE-588)136960634 aut The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] David Flanagan and Yukihiro Matsumoto 1. ed. Beijing [u.a.] O'Reilly 2008 XI, 429 S. Ill. txt rdacontent n rdamedia nc rdacarrier Object-oriented programming (Computer science) Ruby (Computer program language) Ruby Programmiersprache (DE-588)4653817-3 gnd rswk-swf Ruby Programmiersprache (DE-588)4653817-3 s DE-604 Matsumoto, Yukihiro 1965- Verfasser (DE-588)139395970 aut HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016421719&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Flanagan, David Matsumoto, Yukihiro 1965- The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] Object-oriented programming (Computer science) Ruby (Computer program language) Ruby Programmiersprache (DE-588)4653817-3 gnd |
subject_GND | (DE-588)4653817-3 |
title | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] |
title_auth | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] |
title_exact_search | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] |
title_exact_search_txtP | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] |
title_full | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] David Flanagan and Yukihiro Matsumoto |
title_fullStr | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] David Flanagan and Yukihiro Matsumoto |
title_full_unstemmed | The Ruby Programming Language [everything you need to know ; covers Ruby 1.8 and 1.9] David Flanagan and Yukihiro Matsumoto |
title_short | The Ruby Programming Language |
title_sort | the ruby programming language everything you need to know covers ruby 1 8 and 1 9 |
title_sub | [everything you need to know ; covers Ruby 1.8 and 1.9] |
topic | Object-oriented programming (Computer science) Ruby (Computer program language) Ruby Programmiersprache (DE-588)4653817-3 gnd |
topic_facet | Object-oriented programming (Computer science) Ruby (Computer program language) Ruby Programmiersprache |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016421719&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT flanagandavid therubyprogramminglanguageeverythingyouneedtoknowcoversruby18and19 AT matsumotoyukihiro therubyprogramminglanguageeverythingyouneedtoknowcoversruby18and19 |