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:
parent
d84c87fa36
commit
df9283d1b2
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue