Two Ruby solutions: readable and one-liner
\n# @param {Integer} n\n# @return {String[]}\ndef fizz_buzz(n)\n    1.upto(n).map do |integer|\n      next \'FizzBuzz\' if (integer % 15).zero?\n      next \'Fi
```\n# @param {Integer} n\n# @return {String[]}\ndef fizz_buzz(n)\n    1.upto(n).map do |integer|\n      next \'FizzBuzz\' if (integer % 15).zero?\n      next \'Fizz\' if (integer % 3).zero?\n      next \'Buzz\' if (integer % 5).zero?\n\n      integer.to_s\n    end\nend\n```\n\n```\n# @param {Integer} n\n# @return {String[]}\ndef fizz_buzz(n)\n  1.upto(n).map { |integer| [[(\'Fizz\' if (integer % 3).zero?), (\'Buzz\' if (integer % 5).zero?)].compact.join, integer.to_s].max_by(&:length) }\nend\n```
['Ruby']