C
camenix
Hello all,
I have two file :
config.rb:
tool_mysql='X:/mysql.exe'
main.rb :
require "config.rb"
puts tool_mysql
It didn't work.for main.rb can not import variable from config.rb
Is there any mothod to do this without parsing config.rb?
Is here anyone who can help me?
I have two file :
config.rb:
tool_mysql='X:/mysql.exe'
main.rb :
require "config.rb"
puts tool_mysql
It didn't work.for main.rb can not import variable from config.rb
Is there any mothod to do this without parsing config.rb?
Is here anyone who can help me?