Learning Ruby:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly & Associates
2007
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XV, 238 S. |
ISBN: | 9780596529864 0596529864 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV022876217 | ||
003 | DE-604 | ||
005 | 20081215 | ||
007 | t | ||
008 | 071011s2007 |||| 00||| eng d | ||
015 | |a 07,N14,0051 |2 dnb | ||
016 | 7 | |a 98348662X |2 DE-101 | |
020 | |a 9780596529864 |c : EUR 34.00 (freier Pr.) |9 978-0-596-52986-4 | ||
020 | |a 0596529864 |c : EUR 34.00 (freier Pr.) |9 0-596-52986-4 | ||
024 | 3 | |a 9780596529864 | |
035 | |a (OCoLC)272548977 | ||
035 | |a (DE-599)DNB98348662X | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-703 | ||
050 | 0 | |a QA76.64 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a Fitzgerald, Michael |e Verfasser |4 aut | |
245 | 1 | 0 | |a Learning Ruby |c Michael Fitzgerald |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly & Associates |c 2007 | |
300 | |a XV, 238 S. | ||
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 | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016081255&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-016081255 |
Datensatz im Suchindex
_version_ | 1804137137689329664 |
---|---|
adam_text | Table
of
Contents
Preface
.................................................................xi
1.
Ruby Basics
........................................................ 1
Hello, Matz
2
Interactive Ruby
12
Resources
13
Installing Ruby
15
Permission Denied
20
Associating File Types on Windows
21
Review Questions
22
2.
A Quick Tour of Ruby
...............................................23
Ruby Is Object-Oriented
23
Ruby s Reserved Words
26
Comments
27
Variables
28
Strings
30
Numbers and Operators
33
Conditional Statements
34
Arrays and Hashes
34
Methods
35
Blocks
40
Symbols
43
Exception Handling
44
Ruby Documentation
45
Review Questions
45
vii
3.
Conditional Love
...................................................47
The if Statement
47
The case Statement
51
The while Loop
52
The loop Method
55
The for loop
56
Execution Before or After a Program
59
Review Questions
59
4.
Strings
...........................................................60
Creating Strings
60
Concatenating Strings
63
Accessing Strings
63
Comparing Strings
65
Manipulating Strings
66
Case Conversion
70
Managing Whitespace, etc.
71
Incrementing Strings
73
Converting Strings
74
Regular Expressions
74
1.9
and Beyond
78
Review Questions
78
5.
Math
.............................................................79
Class Hierarchy and Included Modules
80
Converting Numbers
81
Basic Math Operations
81
Ranges
85
Inquiring About Numbers
86
More Math Methods
88
Math Functions
88
Rational Numbers
90
Prime Numbers
91
Review Questions
92
6.
Arrays
............................................................93
Creating Arrays
94
Accessing Elements
97
Concatenation
99
viti
I TableofContents
Set Operations
99
Unique Elements
100
Blow Your Stack
100
Comparing Arrays
101
Changing Elements
101
Deleting Elements
103
Arrays and Blocks
103
Sorting Things and About Face
104
Multidimensional Arrays
104
1.9
and Beyond
105
Other Array Methods
105
Review Questions
105
7.
Hashes
..........................................................107
Creating Hashes
107
Accessing Hashes
108
Iterating over Hashes
109
Changing Hashes
110
Converting Hashes to Other Classes
113
1.9
and Beyond
113
Other Hash Methods
114
Review Questions
114
8.
Working with Files
................................................115
Directories
115
Creating a New File
117
Opening an Existing File
117
Deleting and Renaming Files
120
File Inquiries
120
Changing File Modes and Owner
121
The
IO
Class
123
Review Questions
124
9.
Classes
..........................................................125
Defining the Class
126
Instance Variables
127
Accessors
129
Class Variables
130
Class Methods
131
Table of Contents |
ix
Inheritance
133
Modules 134
public, private, or protected
137
Review Questions
138
10.
More Fun with Ruby
..............................................139
Formatting Output with
sprinti
139
Processing XML H2
Date and Time
147
Reflection
151
Using Tic
154
Metaprogramming
157
RubyGems
158
Exception Handling
162
Creating Documentation with RDoc
164
Embedded Ruby
171
Review Questions
174
11.
A Short Guide to Ruby on Rails
.....................................175
Where Did Rails Come From?
175
Why Rails?
176
What Have Other Folks Done with Rails?
180
Hosting Rails
182
Installing Rails
182
Learning Rails
185
A Brief Tutorial
186
Review Questions
193
A. Ruby Reference
..................................................195
B. Answers to Review Questions
......................................214
Glossary
...............................................................219
Index
.................................................................227
Table of Contents
|
adam_txt |
Table
of
Contents
Preface
.xi
1.
Ruby Basics
. 1
Hello, Matz
2
Interactive Ruby
12
Resources
13
Installing Ruby
15
Permission Denied
20
Associating File Types on Windows
21
Review Questions
22
2.
A Quick Tour of Ruby
.23
Ruby Is Object-Oriented
23
Ruby's Reserved Words
26
Comments
27
Variables
28
Strings
30
Numbers and Operators
33
Conditional Statements
34
Arrays and Hashes
34
Methods
35
Blocks
40
Symbols
43
Exception Handling
44
Ruby Documentation
45
Review Questions
45
vii
3.
Conditional Love
.47
The if Statement
47
The case Statement
51
The while Loop
52
The loop Method
55
The for loop
56
Execution Before or After a Program
59
Review Questions
59
4.
Strings
.60
Creating Strings
60
Concatenating Strings
63
Accessing Strings
63
Comparing Strings
65
Manipulating Strings
66
Case Conversion
70
Managing Whitespace, etc.
71
Incrementing Strings
73
Converting Strings
74
Regular Expressions
74
1.9
and Beyond
78
Review Questions
78
5.
Math
.79
Class Hierarchy and Included Modules
80
Converting Numbers
81
Basic Math Operations
81
Ranges
85
Inquiring About Numbers
86
More Math Methods
88
Math Functions
88
Rational Numbers
90
Prime Numbers
91
Review Questions
92
6.
Arrays
.93
Creating Arrays
94
Accessing Elements
97
Concatenation
99
viti
I TableofContents
Set Operations
99
Unique Elements
100
Blow Your Stack
100
Comparing Arrays
101
Changing Elements
101
Deleting Elements
103
Arrays and Blocks
103
Sorting Things and About Face
104
Multidimensional Arrays
104
1.9
and Beyond
105
Other Array Methods
105
Review Questions
105
7.
Hashes
.107
Creating Hashes
107
Accessing Hashes
108
Iterating over Hashes
109
Changing Hashes
110
Converting Hashes to Other Classes
113
1.9
and Beyond
113
Other Hash Methods
114
Review Questions
114
8.
Working with Files
.115
Directories
115
Creating a New File
117
Opening an Existing File
117
Deleting and Renaming Files
120
File Inquiries
120
Changing File Modes and Owner
121
The
IO
Class
123
Review Questions
124
9.
Classes
.125
Defining the Class
126
Instance Variables
127
Accessors
129
Class Variables
130
Class Methods
131
Table of Contents |
ix
Inheritance
133
Modules 134
public, private, or protected
137
Review Questions
138
10.
More Fun with Ruby
.139
Formatting Output with
sprinti
139
Processing XML H2
Date and Time
147
Reflection
151
Using Tic
154
Metaprogramming
157
RubyGems
158
Exception Handling
162
Creating Documentation with RDoc
164
Embedded Ruby
171
Review Questions
174
11.
A Short Guide to Ruby on Rails
.175
Where Did Rails Come From?
175
Why Rails?
176
What Have Other Folks Done with Rails?
180
Hosting Rails
182
Installing Rails
182
Learning Rails
185
A Brief Tutorial
186
Review Questions
193
A. Ruby Reference
.195
B. Answers to Review Questions
.214
Glossary
.219
Index
.227
Table of Contents |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Fitzgerald, Michael |
author_facet | Fitzgerald, Michael |
author_role | aut |
author_sort | Fitzgerald, Michael |
author_variant | m f mf |
building | Verbundindex |
bvnumber | BV022876217 |
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 |
ctrlnum | (OCoLC)272548977 (DE-599)DNB98348662X |
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>01532nam a2200421 c 4500</leader><controlfield tag="001">BV022876217</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20081215 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">071011s2007 |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">07,N14,0051</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">98348662X</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596529864</subfield><subfield code="c">: EUR 34.00 (freier Pr.)</subfield><subfield code="9">978-0-596-52986-4</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596529864</subfield><subfield code="c">: EUR 34.00 (freier Pr.)</subfield><subfield code="9">0-596-52986-4</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780596529864</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)272548977</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB98348662X</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-703</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.64</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">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Fitzgerald, Michael</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Learning Ruby</subfield><subfield code="c">Michael Fitzgerald</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 & Associates</subfield><subfield code="c">2007</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XV, 238 S.</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="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</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=016081255&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-016081255</subfield></datafield></record></collection> |
id | DE-604.BV022876217 |
illustrated | Not Illustrated |
index_date | 2024-07-02T18:49:00Z |
indexdate | 2024-07-09T21:07:31Z |
institution | BVB |
isbn | 9780596529864 0596529864 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016081255 |
oclc_num | 272548977 |
open_access_boolean | |
owner | DE-703 |
owner_facet | DE-703 |
physical | XV, 238 S. |
publishDate | 2007 |
publishDateSearch | 2007 |
publishDateSort | 2007 |
publisher | O'Reilly & Associates |
record_format | marc |
spelling | Fitzgerald, Michael Verfasser aut Learning Ruby Michael Fitzgerald 1. ed. Beijing [u.a.] O'Reilly & Associates 2007 XV, 238 S. 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 Digitalisierung UB Bayreuth application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016081255&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Fitzgerald, Michael Learning Ruby Object-oriented programming (Computer science) Ruby (Computer program language) Ruby Programmiersprache (DE-588)4653817-3 gnd |
subject_GND | (DE-588)4653817-3 |
title | Learning Ruby |
title_auth | Learning Ruby |
title_exact_search | Learning Ruby |
title_exact_search_txtP | Learning Ruby |
title_full | Learning Ruby Michael Fitzgerald |
title_fullStr | Learning Ruby Michael Fitzgerald |
title_full_unstemmed | Learning Ruby Michael Fitzgerald |
title_short | Learning Ruby |
title_sort | learning ruby |
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=016081255&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT fitzgeraldmichael learningruby |