# File 'lib/mech/configurator.rb', line 9defconfigunless@configifinit@config||=Mech::Config.instanceelseraise'Not load config file'endend@configend
#init(path = nil) ⇒ Object
3
4
5
6
7
# File 'lib/mech/configurator.rb', line 3definit(path=nil)requirepath||File.join(File.dirname(__FILE__),'..','conf')@config||=Mech::Config.instanceselfend