Method: MethodMatcher#initialize
- Defined in:
- lib/mspec/matchers/method.rb
#initialize(method, include_super = true) ⇒ MethodMatcher
Returns a new instance of MethodMatcher.
6 7 8 9 |
# File 'lib/mspec/matchers/method.rb', line 6 def initialize(method, include_super=true) @include_super = include_super @method = convert_name method end |