gabriele renzi wrote:

> trans. (T. Onoma) ha scritto:
>> And I see no good reason to keep the irb prompt so...
>>
>>   # This creates a Regexp which will match 3 "foo"s.
>>   # somecode # =>someresult
>>   # somemore # =>someother
>>
>> Fairly simple transformation from irb.
>>
> yes, but that way how would you distinguish code from text... mh.. maybe 
> considering just lines with #=> ..

Note that not every line of the sample code has to have a result that is 
worth being mentioned.