https://tom-lord.github.io/10-More-New-Features-In-Ruby-2.5/
还可以这么写 private def choose(source, n)
private def choose(source, n)
不是很早就可以这么写了?
yo yah hoow
之前没见过,涨见识了。。。算是 TIL(Today I Learn) 吧
不过这么写,爬取上应该没啥难度,毕竟只是关键字(private + end)
private
end
每年的圣诞礼物