Ryan Davis
8/13/2008 11:50:00 PM
On Aug 13, 2008, at 14:21 , John Winters wrote:
> Can anyone explain this for me?
>
> john@liberty:~/Work/Coding/Xronos/test$ cat testpadding.rb
> class Padding
>
> def inspect
> '.' * 4
> end
>
> end
> john@liberty:~/Work/Coding/Xronos/test$ irb -r testpadding.rb
>>> a = Padding.new
> => ......
>>> a.inspect
> => "...."
wfm:
>> a = Padding.new
=> ....
>> a.inspect
=> "...."
>> RUBY_VERSION
=> "1.8.6"