I've got a Ruby trivia question: ```require 'mkmf'...
# voxpupuli
m
I've got a Ruby trivia question:
Copy code
require 'mkmf'
CONFIG['MKMF_VERBOSE'] = "1"
create_makefile 'qsort'
The code works and generates a Makefile. The content is as intended
Copy code
# V=0 quiet, V=1 verbose.  other values don't work.
V = 0
I do not understand scope. From my understanding
CONFIG
is a local variable in the main script. How can that possibly be visible in the function
create_makefile
?