diff options
Diffstat (limited to 'lib/unicorn/write_splat.rb')
-rw-r--r-- | lib/unicorn/write_splat.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/unicorn/write_splat.rb b/lib/unicorn/write_splat.rb new file mode 100644 index 0000000..7e6e363 --- /dev/null +++ b/lib/unicorn/write_splat.rb @@ -0,0 +1,7 @@ +# -*- encoding: binary -*- +# compatibility module for Ruby <= 2.4, remove when we go Ruby 2.5+ +module Unicorn::WriteSplat # :nodoc: + def write(*arg) # :nodoc: + super(arg.join('')) + end +end |