Commit 7987619b authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #760 from masuidrive/fixed_compat

Fixed 1.8 compatibility
parents 73fa0d63 befb830a
...@@ -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