D
David --
I'm trying to do something like:
#####
# File: blah.rb
module Blah
def something
puts "something"
end
def another
puts "another"
end
end
#####
# File: blahtest.rb
require 'blah'
Blah.something #-> "something"
Blah.another #-> "another"
import_to_local Blah
something #-> "something"
another #-> "another"
Coming from a Python background, I'm looking to do the approximate
equivalent of "from Blah import *"
#####
# File: blah.rb
module Blah
def something
puts "something"
end
def another
puts "another"
end
end
#####
# File: blahtest.rb
require 'blah'
Blah.something #-> "something"
Blah.another #-> "another"
import_to_local Blah
something #-> "something"
another #-> "another"
Coming from a Python background, I'm looking to do the approximate
equivalent of "from Blah import *"