Sha256: ecbb81ce4db6f8267109c77441992e179a7787e50578a819904598c3d8dd65c0
Contents?: true
Size: 308 Bytes
Versions: 10
Compression:
Stored size: 308 Bytes
Contents
class HttpMethod def ===(other) case other when HttpMethod super when :any true when :get self == self.class::GET when :post self == self.class::POST when :put self == self.class::PUT when :delete self == self.class::DELETE end end end
Version data entries
10 entries across 10 versions & 1 rubygems