lib/shuang_pin_tutorial.rb
# Require all of the Ruby files in the given directory.
Require all of the Ruby files in the given directory.
Require all of the Ruby files in the given directory .
def require_all(path)
  glob = File.join(__dir__, path, "*.rb")
  Dir[glob].sort.each do |f|
    require f
  end
end
def require_all ( path ) glob = File . join ( __dir__ , path , "*.rb" ) Dir [ glob ] . sort . each do | f | require f end end
Require all of the Ruby files in the given directory.
Require all of the Ruby files in the given directory .
path
<not_specific>