Hi,
I am testing this code snippet in Ruby console of SU2024, but getting error.
Tested in older versions and working fine,
What am I doing wrong?
Please help me
class Test_1
def initialize
# create dir if it doesn’t exist
puts “testing”
end
end
=> :initialize
Test_1.new
Error: #<TypeError: allocator undefined for Test_1>