From: "Sandor Szücs" Date: 2009-02-05T19:59:06+09:00 Subject: Re: custom assertion message for unit tests Maybe it is not necessary to customize the assertion so much. On 04.02.2009, at 23:59, Will Parsons wrote: > I would like the expected and actual permissions to be > displayed in octal rather than decimal. How can I do that? irb(main):005:0> "420".to_i => 420 irb(main):006:0> "420".to_i.to_s(8) => "644" irb(main):007:0> "420".to_i.to_s(8).to_i => 644 regards, Sandor Szücs --