# File lib/mocha/central.rb, line 24 def stub(method) return if stubba_methods.detect { |m| m.matches?(method) } method.stub stubba_methods.push(method) end