def find(code)
      behaviour = @behaviours[code]
      if behaviour.nil?
        _, behaviour = @behaviours_range.detect do |range, proc|
          range.include?(code)
        end
      end
      behaviour || self.unknown_behaviour
    end
def find(code)
      behaviour = @behaviours[code]
      if behaviour.nil?
        _, behaviour = @behaviours_range.detect do |range, proc|
          range.include?(code)
        end
      end
      behaviour || self.unknown_behaviour
    end
Public: Look for behaviours defined by *code*.

 code - Integer. Generally response.code

 Returns Proc defined by *code* or unknown_behaviour proc.