Commit befb830a authored by Yuichiro MASUI's avatar Yuichiro MASUI

Fixed 1.8 compatibilitywq

parent 8e86ff22
...@@ -22,7 +22,11 @@ class String ...@@ -22,7 +22,11 @@ class String
end end
str str
else else
sprintf(self, params) if params.is_a?(Array)
sprintf(self, *params)
else
sprintf(self, params)
end
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment