def setup
@base_dir = File.dirname($0)
@page = Forwarder.new(self)
@start_time_call = 0
@restart_time_call = 0
@restart_count_call = 0
@control = Forwarder.new(self)
class << @control
def_delegator :__getobj__, :start_time
def_delegator :__getobj__, :restart_time
def_delegator :__getobj__, :restart_count
end
loader = WPM::Loader.new('../control/About/About.rb')
options = {
:control => @control,
:base_dir => @base_dir
}
@About = loader.const_get('About').new(@page, options)
assert((@About.is_a? WPM::PageContext))
@About.init_context
end