3 Matching Annotations
- Dec 2022
-
stackoverflow.com stackoverflow.com
-
Procs can't accept blocks as implicit arguments (the format you're trying). A proc can receive other proc objects as arguments, either explicitly, or using & arguments. Example: a = Proc.new do |&block| block.call end a.call() {puts "hi"}
-
- Oct 2022
-
stackoverflow.com stackoverflow.com
-
Test.new.test { puts "Hi!" }
-
-