Method: Protocol::HTTP::Methods.each

Defined in:
lib/protocol/http/methods.rb

.eachObject

Enumerate all HTTP methods.



64
65
66
67
68
69
70
# File 'lib/protocol/http/methods.rb', line 64

def self.each
	return to_enum(:each) unless block_given?
	
	constants.each do |name|
		yield name, const_get(name)
	end
end