Michael Fellinger wrote: > On Jan 15, 2008 11:56 AM, Ak 756 <macro.peng / gmail.com> wrote: >> else if s2[0,1] == "-" >> puts modifytime(time,sub50second) => "00:10:30" >> >> The result is what I expected but I think the modifytime is ugly. >> Can I use 'eval' so that I don't need to judge "+" or "-"? >> Or, any elegant solutions? >> Thanks in advance. > > http://p.ramaze.net/191 > > ^ manveru Cool website, cool solution. Thanks very much :-) -- Posted via http://www.ruby-forum.com/.