Writing custom functions in Ruby

You can write powerful and flexible functions using Ruby.