module Kernel define_method '0', -> _, __ { %w`Fizz Buzz FizzBuzz`.[] _ } end def method_missing _, __ = nil, ___ = nil v, i = [3,5,15].map{|__|_.to_s.to_i % __}.each_with_index.sort_by{|_|[_[0],_[1]*-1]}.first return __ ? ___ : send(v.to_s, i, _) end (1..100).map(&:to_s).map(&method(:send)).map(&:to_s).map(&method(:puts)) おわり感じ感じ