searls/gimme — Issue #7: document class method stubbing
Author: searls
Created: 2012-02-27 03:20:57+00:00
State: open

add notes on stubbing class methods to the readme.

If you've got:

``` ruby
def Hockey
def self.score
end
end
```

You can just stub it with `give(Hockey).score { "GOOOOAL!" }`

And then, predictably, calling `Hockey.score()` will give you what you stubbed.