summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/matchers/method.rb
blob: 2b54419faa833320815db1f95fec891930e18b2c (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