lazy_graph 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lazy_graph/node/node_properties.rb +1 -3
- data/lib/lazy_graph/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: 161365560b253072239da129afecb0d43a9f1aa0072a8a81668a25d4013a33ce
|
4
|
+
data.tar.gz: 3d8835baa0e9ae05e3ed0a8438c7b18a0e2c7f5b55e3ab4569bc0f17c30bce0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e62d31f1aa8d45d61b1de31e5d890ecb56be3ddfac5977431592723079ebe46ae120d489ddacb4eea1b458ab5efb8f68ff0b4e3ac38085a69caa78db6f29b3
|
7
|
+
data.tar.gz: af1ad4be372659110fae0299f84247f48f76b37ce4a1344d2543ebd093ce93525fe50e76bc0f4866dc4357184cceb1c9bac650cccbe8e2dd4443ce1840552cfc
|
@@ -31,9 +31,7 @@ module LazyGraph
|
|
31
31
|
define_method(:each_key, &members.method(:each))
|
32
32
|
|
33
33
|
def dup
|
34
|
-
|
35
|
-
members.each { duplicate[_1] = self[_1].dup }
|
36
|
-
duplicate
|
34
|
+
self.class.new(members.each_with_object({}) { _2[_1] = _2[_1].dup })
|
37
35
|
end
|
38
36
|
|
39
37
|
def get_first_of(*props)
|
data/lib/lazy_graph/version.rb
CHANGED