deterministic 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deterministic/option.rb +1 -1
- data/lib/deterministic/result.rb +1 -1
- data/lib/deterministic/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: 3c142a92639ccc4051cc59535565f1acb5816a25
|
4
|
+
data.tar.gz: c916f4398175f4a5a0d3fc2142263d9c999d7ac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5da47c489e0c973dfb02aa9d3f1a968b812855b3af4001f8c70ea72aa5ed8188a587713bf13df63b9af0dfadbd5f4420c93b90592e8442997e21dc9590b7b2a3
|
7
|
+
data.tar.gz: c7252b32ba1889a08a32c05aadb0c76469822f2a646f1bb1f54bf54a6e7c081c3e43640a57e66b68da0c6d88da5092638ac7a19de1fb56a397de741d72d3057d
|
data/lib/deterministic/option.rb
CHANGED
data/lib/deterministic/result.rb
CHANGED
@@ -10,7 +10,7 @@ module Deterministic
|
|
10
10
|
|
11
11
|
%w[Success Failure Result].each do |s|
|
12
12
|
define_method s.downcase.to_sym do |value=nil, &block|
|
13
|
-
klas =
|
13
|
+
klas = klas = self.class.module_eval(s)
|
14
14
|
push(klas, value, block)
|
15
15
|
end
|
16
16
|
end
|