ʢແବʹʣͬͨ͜ͱ
w p[[CV[[ʹ(&5͢Δͱp[[CV[[ͷ݁ՌΛฦ͢
w SFEJSFDUʹ(&5͢Δͱp[[CV[[ʹϦμΠϨΫτ͢Δ
IUUQTHJUIVCDPNDIBTQZWBHSBOUOHJOY
Slide 11
Slide 11 text
͜͜ʹp[[CV[[͕͋Δ͡ΌΖʁ
r = Nginx::Request.new
n = r.var.arg_n.to_i
if n % 15 == 0
ans = "FizzBuzz"
elsif n % 3 == 0
ans = "Fizz"
elsif n % 5 == 0
ans = "Buzz"
else
ans = n
end
Nginx.echo(ans)
ʢ΅͖ʣIJHIMJHIU͚ͬͨͲΠϚΠνͩͳʜ