lib/protocol/http/headers.rb in protocol-http-0.23.9 vs lib/protocol/http/headers.rb in protocol-http-0.23.10
- old
+ new
@@ -155,9 +155,11 @@
def include? key
self[key] != nil
end
+ alias key? include?
+
def keys
self.to_h.keys
end
def extract(keys)