Filename | Size | Update |
---|
Ruby Cookbook Source |
....................\00-Preface.rb |
....................\01 - Strings |
....................\............\00 - Introduction |
....................\............\01 - Building a String From Parts.rb |
....................\............\02 - Substituting Variables Into Strings.rb |
....................\............\03 - Substituting Variables Into an Existing String.rb |
....................\............\04 - Reversing a String by Words or Characters.rb |
....................\............\05 - Representing Unprintable Characters.rb |
....................\............\06 - Converting Between Characters and Values.rb |
....................\............\07 - Converting Between Strings and Symbols.rb |
....................\............\08 - Processing a String One Character at a Time.rb |
....................\............\09 - Processing a String One Word at a Time.rb |
....................\............\10 - Changing the Case of a String.rb |
....................\............\11 - Managing Whitespace.rb |
....................\............\12 - Testing Whether an Object Is String-like.rb |
....................\............\13 - Getting the Parts of a String You Want.rb |
....................\............\14 - Handling International Encodings.rb |
....................\............\15 - Word-wrapping Lines of Text.rb |
....................\............\16 - Generating a Succession of Strings.rb |
....................\............\17 - Comparing With Regular Expressions.rb |
....................\............\18 - Replacing Multiple Patterns in a Single Pass.rb |
....................\............\19 - Validating an Email Address.rb |
....................\............\20 - Classifying Text with a Bayesian Analyzer.rb |
....................\02 - Numbers |
....................\............\00 - Introduction |
....................\............\01 - Parsing A Number From A String.rb |
....................\............\02 - Comparing Floating-Point Numbers.rb |
....................\............\03 - Representing Numbers to Arbitrary Precision.rb |
....................\............\04 - Representing Rational Numbers.rb |
....................\............\05 - Generating Random Numbers.rb |
....................\............\06 - Converting Between Numeric Bases.rb |
....................\............\07 - Taking Logarithms.rb |
....................\............\08 - Taking Mean | Median | and Mode.rb |
....................\............\09 - Converting Between Degrees and Radians.rb |
....................\............\10 - Multiplying Matrices.rb |
....................\............\11 - Solving a System of Linear Equations.rb |
....................\............\12 - Using Complex Numbers.rb |
....................\............\13 - Simulating a Subclass of Fixnum.rb |
....................\............\14 - Doing Math with Roman Numbers.rb |
....................\............\15 - Generating a Sequence of Numbers.rb |
....................\............\16 - Generating Prime Numbers.rb |
....................\............\17 - Checking a Credit Card Checksum.rb |
....................\03 - Date and Time |
....................\..................\00 - Introduction |
....................\..................\01 - Finding Today's Date.rb |
....................\..................\02 - Parsing Dates Fuzzily or Precisely.rb |
....................\..................\03 - Printing a Date.rb |
....................\..................\04 - Iterating Over Dates.rb |
....................\..................\05 - Doing Date Arithmetic.rb |
....................\..................\06 - Counting the Days Since an Arbitrary Date.rb |
....................\..................\07 - Converting Between Time Zones.rb |
....................\..................\08 - Checking Whether Daylight Saving Time Is Currently in Effect.rb |
....................\..................\09 - Converting Between Time and DateTime Objects.rb |
....................\..................\10 - Finding the Day of the Week.rb |
....................\..................\11 - Handling Commercial Dates.rb |
....................\..................\12 - Running a Code Block Periodically.rb |
.............. |