From: "Marcin Mielżyński" Date: 2006-03-06T06:43:39+09:00 Subject: Re: ruby pass like statement rtilley wrote: > When laying out programs in Python, sometimes during preliminary design, > functions/methods are named but not defined. Instead, 'pass' is used to > indicate that it'll be defined later. It may look like this: > > def some_function(): > # This function will... > pass > > Does Ruby have something similar? > > Thanks, > Brad pass is not needed in Ruby. Indentation forces python to have such a statement since there would be no way to create empty class/method empty function: def fun(): pass print fun() will return None just like an empty method in Ruby returns nil. lopex