RE: Procs, Modules, Mixins, Standard Classes | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
0
p = Proc.new do puts "I'm a Proc!" end p.call
8th Nov 2016, 5:36 AM
மனோஜ்குமார் பழனிச்சாமி
மனோஜ்குமார் பழனிச்சாமி - avatar