If I have this folder structure:
rexml
rexml/document
Is the following syntax a non-recursive link that includes everything below it?
require 'rexml'
Or do I need to write the following if I also want to access what's in 'document'?:
require 'rexml/document'
The reason I got confused, I see some code in which the author writes that both require approval one by one:
require 'rexml'
require 'rexml/document'
I was not sure if this was really necessary.
source
share