# File lib/needle/interceptor.rb, line 93 def action return @with if @with raise InterceptorConfigurationError, "You must specify either 'with' or 'doing'" unless @doing return proc { |c| DynamicInterceptor.new( @doing ) } end