Ruby - Blocks, Procs, and Lambdas
In Ruby, what is the purpose of the
block_given? method when called inside a method?block_given? method when called inside a method?block_given?true if the method was called with a block, otherwise false. -> Option A15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions