Advanced Ruby
These pages deal with some of the more advanced concepts of Ruby and are geared toward intermediate and advanced programmers. The covered concepts will build upon the more basic features of Ruby, a discussion of which can be found in Beginning Ruby.
Ruby's Bignum Library
Computers are quite good at math or, more precisely, at arithmetic. In fact, technically, that's all a computer can do. However, the numbers computers typically work with are quite limited. On a typical computer, an integer number is represented by a 32-bit binary number. A 32-bit integer can only represent the numbers from about negative 2 billion to positive 2 billion.
Computers are quite good at math or, more precisely, at arithmetic. In fact, technically, that's all a computer can do. However, the numbers computers typically work with are quite limited. On a typical computer, an integer number is represented by a 32-bit binary number. A 32-bit integer can only represent the numbers from about negative 2 billion to positive 2 billion.
String Substitution in Ruby
Splitting a string is only one way to manipulate string data. You can also make substitutions to replace one part of a string with another string. For instance, in an example string "foo,bar,baz", replacing "foo" with "boo" in "foo,bar,baz" would yield "boo,bar,baz". You can do this and many more things using the sub and gsub method in the String class.
Splitting a string is only one way to manipulate string data. You can also make substitutions to replace one part of a string with another string. For instance, in an example string "foo,bar,baz", replacing "foo" with "boo" in "foo,bar,baz" would yield "boo,bar,baz". You can do this and many more things using the sub and gsub method in the String class.
Using the 'split' Method
String manipulation using the split method in Ruby. Split strings into a list of substrings.
String manipulation using the split method in Ruby. Split strings into a list of substrings.
Debugging Ruby
Debugging Ruby programs using the Ruby debugger.
Debugging Ruby programs using the Ruby debugger.
Running the Ruby Profiler
Running the Ruby profiler to determine which methods are most expensive and which need to be optimized.
Running the Ruby profiler to determine which methods are most expensive and which need to be optimized.
An Introduction to Distributed Ruby
Distributed Ruby, or DRb, is a library that allows you to communicate with remote Ruby objects and programs, using TCP/IP network protocols.
Distributed Ruby, or DRb, is a library that allows you to communicate with remote Ruby objects and programs, using TCP/IP network protocols.
Writing Domain Specific Languages
A short guide on writing Domain Specific Languages in Ruby.
A short guide on writing Domain Specific Languages in Ruby.
RubyQuiz
Challenges to test your Ruby programming skills.
Challenges to test your Ruby programming skills.
Ruby @ PLEAC
Ruby recipes at PLEAC (Programming Language Examples Alike Cookbook), the example programs from the Perl Cookbook re-written in Ruby.
Ruby recipes at PLEAC (Programming Language Examples Alike Cookbook), the example programs from the Perl Cookbook re-written in Ruby.
21 Ruby Tricks
A few tips and tricks to make things a little easier.
A few tips and tricks to make things a little easier.
Ruby Core
Information on installing, running and contributing to the development of the latest release of Ruby.
Information on installing, running and contributing to the development of the latest release of Ruby.


