[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03776] Kernel.rand

From: Aleksi Niemel<aleksi.niemela@...>
Date: 2000-07-03 22:34:09 UTC
List: ruby-talk #3776
How about defining:

module Kernel
  def rand(max=0)
    ...

Instead of current:

module Kernel
  def rand(max)
    ...

It's too late for a patch though :).

	- Aleksi

In This Thread

Prev Next