Skip to content

Commit

Permalink
Merge pull request #55 from joshuapinter/patch-1
Browse files Browse the repository at this point in the history
Add return in comments for `flush_cache`.
  • Loading branch information
matthewrudy committed Oct 21, 2016
2 parents e8b3f3e + b79bb02 commit acd5e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ person.taxes_due(100_000, true) # bypasses the memoized value and rememoizes it
If you want to flush the entire memoization cache for an object

```ruby
person.flush_cache
person.flush_cache # returns an array of flushed memoized methods, e.g. ["social_security", "some_method"]
```

Authors
Expand Down

0 comments on commit acd5e15

Please sign in to comment.