class WebMock::MethodPattern
def initialize(pattern)
def initialize(pattern) @pattern = pattern end
def matches?(method)
def matches?(method) @pattern == method || @pattern == :any end
def to_s
def to_s @pattern.to_s end
def initialize(pattern) @pattern = pattern end
def matches?(method) @pattern == method || @pattern == :any end
def to_s @pattern.to_s end