Table of contents for Ruby : the programming language / Jules J. Berman.


Bibliographic record and links to related information available from the Library of Congress catalog
Note: Electronic data is machine generated. May be incomplete or contain other coding.


Counter
Chapter 1      The Ruby Programming Language                 1
1.1   Introduction to Ruby      2
What Is Ruby? 2
Learning Ruby 2
Installing Ruby 3
What Is a Ruby Statement? 3
The Interactive Ruby Environment (irb) 4
Notation 5
1.2   Object-Oriented Programming         5
Creating Ruby Objects 5
Ruby Inheritance 7
Class Methods and Instance Methods 9
Method Polymorphism 9
General Rules of Inheritance in Ruby 10
1.3   Writing and Executing a Short Ruby Script         11
Getting User Input 11
Using Conditional Structures 12
Class Range  13
Using Block Structures 13
Chaining Ruby Methods in a Single Ruby Statement 15
Class Hash  18
Zipf Distribution 20
A Concordance 21
1.4  Advanced Features of Ruby     24
Creating a Ruby Class 24
Using the Ruby Standard Library 25
Extending Ruby 27
Modules 29
Summary 31
Exercises 33
Ruby Method Glossary 35
Index 43



Library of Congress subject headings for this publication: Object-oriented programming (Computer science)Ruby (Computer program language)