Module: EagerBeaver::ClassMethods

Defined in:
lib/eager_beaver.rb

Instance Method Summary collapse

Instance Method Details

#add_method_matcher(&block) ⇒ Object



38
39
40
# File 'lib/eager_beaver.rb', line 38

def add_method_matcher(&block)
  method_matchers << MethodMatcher.new(block)
end

#method_matchersObject



34
35
36
# File 'lib/eager_beaver.rb', line 34

def method_matchers
  @method_matchers ||= []
end