strip Rex::ExtTime.sec_to_s return val to remove ever-present trailing space

git-svn-id: file:///home/svn/framework3/trunk@6790 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
kris 2009-07-13 23:32:35 +00:00
parent d84c87fa36
commit df9283d1b2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module ExtTime
str = "#{parts[idx]} #{name + ((parts[idx] != 1) ? 's' :'')} " + str
}
str.empty? ? "0 secs" : str
str.empty? ? "0 secs" : str.strip
end
#