diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-22 10:47:37 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-22 10:47:37 +0900 |
| commit | 3a95e3fbbdd832acb465e736d30d487785e027e8 (patch) | |
| tree | 9d96036e783ab1526550863c9d2bca249f068aa9 /tasks/ruby_ext.rake | |
| parent | 323d8501d64d5cb2fb176e240c06ebfebebf62e0 (diff) | |
| parent | 461a03ca06bd82328ffd3b8d98f9c88a028c893e (diff) | |
| download | mruby-3a95e3fbbdd832acb465e736d30d487785e027e8.tar.gz mruby-3a95e3fbbdd832acb465e736d30d487785e027e8.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'tasks/ruby_ext.rake')
| -rw-r--r-- | tasks/ruby_ext.rake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/ruby_ext.rake b/tasks/ruby_ext.rake index 22a8409d4..2536a2e4b 100644 --- a/tasks/ruby_ext.rake +++ b/tasks/ruby_ext.rake @@ -22,7 +22,11 @@ class String end str else - sprintf(self, params) + if params.is_a?(Array) + sprintf(self, *params) + else + sprintf(self, params) + end end end end |
