In lines like:
require "./hello.rb"
What does the single period do? I know that using 2 periods is going back a directory from current location.
Also, is there a difference in the following:
require_relative "../file.rb"
require "../file.rb"
Aucun commentaire:
Enregistrer un commentaire