# File lib/rfuzz/stats.rb, line 141
141:     def method_missing(event, *args)
142:       case args[0]
143:       when :begins
144:         mark(:request) if event == :connect
145:         mark(event)
146:       when :ends
147:         sample(:request) if event == :close
148:         sample(event)
149:       when :error
150:         sample(:request)
151:         @error_count += 1
152:       end
153:     end