class MethodMatcher

Public Class Methods

new(method, include_super=true) click to toggle source
# File lib/mspec/matchers/method.rb, line 6
def initialize(method, include_super=true)
  @include_super = include_super
  @method = convert_name method
end

Public Instance Methods

matches?(mod) click to toggle source
# File lib/mspec/matchers/method.rb, line 11
def matches?(mod)
  raise Exception, "define #matches? in the subclass"
end