mem 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/mem.rb +0 -1
- data/lib/mem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62d24793e77a9b1f81cd1695cc7885f3c9d24ceb
|
4
|
+
data.tar.gz: 47c3486cc3b2cb33cab110754ed307df7b6231a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fabce24420248b57a76e99cccf9469a4dc7684ca05c2b5f8f7312817943d278224a962b75051f15a13d0730daeedaa912d0427a0c3bc057901fb70175ac90ba7
|
7
|
+
data.tar.gz: 8b94d0885c1b9f7f819ea5ff9fdbea2ca1fc9ed71148f2ee01ee659ea9c501197207fb318373f8fe266f52413e72ea70318c6e7cd88342ca0e1153f6f065789a
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ gem install mem
|
|
7
7
|
```
|
8
8
|
|
9
9
|
## Usage
|
10
|
-
```
|
10
|
+
```ruby
|
11
11
|
class Foo
|
12
12
|
extend Mem
|
13
13
|
|
@@ -20,7 +20,7 @@ class Foo
|
|
20
20
|
end
|
21
21
|
|
22
22
|
# `memoize` defines bar_with_memoize & bar_without_memoize,
|
23
|
-
# and the result of 1st method call is stored into @bar.
|
23
|
+
# and the result of the 1st method call is stored into @bar.
|
24
24
|
memoize :bar
|
25
25
|
|
26
26
|
private
|
data/lib/mem.rb
CHANGED
data/lib/mem/version.rb
CHANGED