gnu-remind 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/remind/remind.rb +5 -1
- data/lib/remind/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19f351fdad385e0cef56e9aa6fac54ce5824a17069287e27402d9fd43471079b
|
4
|
+
data.tar.gz: fcb66234ebdb7061d1a89003d79d972bcf539bee5ab9b26d2d8a9d4338125aa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 812a96c7d7f7adeb7fcd47ec25144c19fa557ad91cfebed8a3be6966ad0b9821b89ee536db561707362fcbb2fd5755b0bce346b9f755edabef67debe167ceb42
|
7
|
+
data.tar.gz: d3e5c1d41099d465ae6b7f998a71578c802398c6ccd058448c1374a669d7159ef934122c513201db183dcd80aefe5a06ae5a919e209c5e07f51c1fbc0b25d644
|
data/lib/remind/remind.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
class E
|
3
3
|
def initialize k
|
4
4
|
@id = k
|
5
|
-
@rem = []
|
6
5
|
@r = Hash.new { |h,k| h[k] = R.new(k) }
|
6
|
+
clear!
|
7
7
|
end
|
8
8
|
def id; @id; end
|
9
9
|
|
@@ -16,6 +16,10 @@ class E
|
|
16
16
|
`remind -t1 rem/#{@id}.rem`.split("\n\n")
|
17
17
|
end
|
18
18
|
|
19
|
+
def clear!
|
20
|
+
@red = []
|
21
|
+
end
|
22
|
+
|
19
23
|
def to_rem
|
20
24
|
a = [];
|
21
25
|
@rem.each { |e| a << @r[e].to_rem }
|
data/lib/remind/version.rb
CHANGED