class GhostDog::Responder::RegexpMatcher
Public Instance Methods
matches(receiver, method_name)
click to toggle source
# File lib/ghost_dog/responder/regexp_matcher.rb, line 4 def matches(receiver, method_name) if match = regexp.match(method_name) match.to_a.drop(1) end end