class Protocol::HTTP::Methods
def self.each
@parameter name [Symbol] The name of the method, e.g. `:GET`.
@yields {|name, value| ...}
Enumerate all HTTP methods.
def self.each return to_enum(:each) unless block_given? constants.each do |name| yield name.downcase, const_get(name) end end