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
......@@ -21,10 +21,14 @@ class String
str.gsub!("%{#{k}}", v)
end
str
else
if params.is_a?(Array)
sprintf(self, *params)
else
sprintf(self, params)
end
end
end
end
class Symbol
......
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