subroutine-factory 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/subroutine/factory.rb +5 -1
- data/lib/subroutine/factory/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: 0deb9737919b3c584c4d8162efe72aa6d42745b4
|
4
|
+
data.tar.gz: 99f95123da26bf0d57eed010ac7be770436027fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5121ac45d9fe090eda670a8fa9c1786e9c02893c6a5a92479ff20b7d09bf2112fdacec5df2d5e2dcda860869dec301c9f68a7b953464207b66dc9bdfa57aef33
|
7
|
+
data.tar.gz: cf065fd503728c9d84e9438802a461d665baed47748acaa340d3557070a93cdda315a0aa0ad5df007643fb2f581beb1005704f16c329189eb8d12d576cc0b7b3
|
data/lib/subroutine/factory.rb
CHANGED
@@ -8,7 +8,7 @@ module Subroutine
|
|
8
8
|
module Factory
|
9
9
|
|
10
10
|
@@configs = {}
|
11
|
-
@@sequence =
|
11
|
+
@@sequence = 0
|
12
12
|
|
13
13
|
def self.configs
|
14
14
|
@@configs
|
@@ -49,5 +49,9 @@ module Subroutine
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
def self.set_sequence(n)
|
53
|
+
@@sequence = n
|
54
|
+
end
|
55
|
+
|
52
56
|
end
|
53
57
|
end
|