+ 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

5th Nov 2016, 3:21 PM
Miles Griffith
Miles Griffith - avatar
1 Answer
0
p = Proc.new do puts "I'm a Proc!" end p.call
8th Nov 2016, 5:36 AM
மனோஜ்குமார் பழனிச்சாமி
மனோஜ்குமார் பழனிச்சாமி - avatar