summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/matchers/method.rb
blob: e8cdfa62fffbb28163be948cc6e68a26b51d689d (plain)
1
2
3
4
5
6
7
8
9
10
class MethodMatcher
  def initialize(method, include_super=true)
    @include_super = include_super
    @method = method.to_sym
  end

  def matches?(mod)
    raise Exception, "define #matches? in the subclass"
  end
end