R
rNuby
Hi all!
I was wonder how one goes about requireing multiple files.
I have the follow file structure:
Project/
run.rb
sub/
go.rb
require_me.rb
now in run.rb
require 'sub/go'
in go.rb
require 'require_me'
but when i execute run.rb, it says it can't find require_me.rb
what are the best ways to set up files and include then in ruby?
thankx!
I was wonder how one goes about requireing multiple files.
I have the follow file structure:
Project/
run.rb
sub/
go.rb
require_me.rb
now in run.rb
require 'sub/go'
in go.rb
require 'require_me'
but when i execute run.rb, it says it can't find require_me.rb
what are the best ways to set up files and include then in ruby?
thankx!