# File lib/amalgalite/profile_tap.rb, line 108 def initialize( wrapped_obj, send_to = 'profile' ) unless wrapped_obj.respond_to?( send_to ) raise Amalgalite::Error, "#{wrapped_obj.class.name} does not respond to #{send_to.to_s} " end @delegate_obj = wrapped_obj @delegate_method = send_to @samplers = {} end