dates_from_string 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dates_from_string.rb +1 -1
- data/lib/dates_from_string/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: da0b2c69885a98e6fa2090b2018496824c5a4c27
|
4
|
+
data.tar.gz: a6f75c319c6bc2da985caad65fcf89d90d502aea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fab468e5387281f86f93f84edbea73b811a0231be5a729fc2c2924d299a5aa6ffd0167869e116e5398a65c227665940369078b32bb7a9f2d18591c282c341ed
|
7
|
+
data.tar.gz: 22781571803da4d2823c555e42e54441bce8a1c90eb2b49a13c652467484cdf3ebf80522ff728be2aeed676758c11556fb4886d74dffd908e1062e10ec537eb7
|
data/lib/dates_from_string.rb
CHANGED
@@ -4,7 +4,6 @@ require "pry-rails"
|
|
4
4
|
class DatesFromString
|
5
5
|
|
6
6
|
def initialize(key_words = [])
|
7
|
-
@main_arr =[]
|
8
7
|
@key_words = key_words
|
9
8
|
end
|
10
9
|
|
@@ -13,6 +12,7 @@ class DatesFromString
|
|
13
12
|
end
|
14
13
|
|
15
14
|
def get_structure(string)
|
15
|
+
@main_arr = []
|
16
16
|
data_arr = string.split(" ")
|
17
17
|
@indexs = []
|
18
18
|
|