# File lib/celerity/util.rb, line 124 def matches?(string, what) Regexp === what ? string.strip =~ what : string == what.to_s end