Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/agent/server/instrument/am_apm.rb

Instance Method Summary collapse

Instance Method Details

#new(*args, &block) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/agent/server/instrument/am_apm.rb', line 5

def new(*args, &block)
result =nil;
begin
if(block==nil || block=="")
   		result = old_new(*args)
elsif
   		result = old_new(*args,&block)
end
rescue Excetion=>exe
      raise exe		 
result = self
end
me_apm_injector(self,result)

return result
end

#old_newObject



4
# File 'lib/agent/server/instrument/am_apm.rb', line 4

alias old_new new