+ 2
RE: Procs, Modules, Mixins, Standard Classes
Correspondingly, can anyone effectively answer this question: Fill in the blanks to create a valid Proc. p = . do puts "I'm a Proc!" new init class Proc end
1 Answer
0
p = Proc.new do
puts "I'm a Proc!"
end
p.call