method matcher
pattern(character) an http method
new()Create a new MethodPattern object
MethodPattern$new(pattern)pattern(character) a HTTP method, lowercase
A new MethodPattern object
matches()test if the pattern matches a given http method
MethodPattern$matches(method)method(character) a HTTP method, lowercase
a boolean
to_s()Print pattern for easy human consumption
MethodPattern$to_s()a string
clone()The objects of this class are cloneable with this method.
MethodPattern$clone(deep = FALSE)deepWhether to make a deep clone.
Matches regardless of case. e.g., POST will match to post