Short Ruby solution.
Ruby\n# https://leetcode.com/problems/fizz-buzz/submissions/\n# @param {Integer} n\n# @return {String[]}\ndef fizz_buzz(n)\n    (1..n).map do |x|\n        next 
```Ruby\n# https://leetcode.com/problems/fizz-buzz/submissions/\n# @param {Integer} n\n# @return {String[]}\ndef fizz_buzz(n)\n    (1..n).map do |x|\n        next \'FizzBuzz\' if 0 == x%15\n        next \'Buzz\' if (x%5).zero?\n        next \'Fizz\' if (x%3).zero?\n        x.to_s\n    end\nend\n```
['Ruby']