it fails with the message: uninitialized constant
NUM_SECTIONS_TO_PARSE
I've run into this problem several times before and always somehow
hacked my way around it, but I want to get it right this time. Any
help appreciated.
it fails with the message: uninitialized constant
NUM_SECTIONS_TO_PARSE
I've run into this problem several times before and always somehow
hacked my way around it, but I want to get it right this time. Any
help appreciated.
Has that file been loaded at the point you try to use that constant?
Thanks Fred. I guess I did not fully understand the sequence in which
ruby loads files. I put a "require
'name_of_file_with_constant_declaration'" at the top of the file in
which I am using the constant and that fixed it.