README.md in mem-0.0.1 vs README.md in mem-0.0.2
- old
+ new
@@ -5,11 +5,11 @@
```
gem install mem
```
## Usage
-```
+```ruby
class Foo
extend Mem
def initialize
@count = 0
@@ -18,10 +18,10 @@
def bar
baz
end
# `memoize` defines bar_with_memoize & bar_without_memoize,
- # and the result of 1st method call is stored into @bar.
+ # and the result of the 1st method call is stored into @bar.
memoize :bar
private
def baz