polyrex-objects 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/polyrex-objects.rb +9 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bec2a24766ede363dd2e2b9cb9548b8640ad836
|
4
|
+
data.tar.gz: 20324100b83396ac7e714d7abd357fd58011975b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46863e6d945fbcda5aae331806c5d8a34fd0b34b119184eea726e3e8f0610a0d21638da86a70d7c636e497b444cbc0ed0523135a3f1474b40047da514e62e8f4
|
7
|
+
data.tar.gz: e52be1b01911396b4955e2639b7ce520ad699d4ec7053ff5bf7d1ff167af9bcb30b1463a2d2a693defd50be514214c76881505fc26d0266011c34fb5de01517b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex-objects.rb
CHANGED
@@ -86,6 +86,14 @@ class PolyrexObjects
|
|
86
86
|
|
87
87
|
end
|
88
88
|
|
89
|
+
def parent?()
|
90
|
+
|
91
|
+
# if the node is at the 1st level of records it will not have a
|
92
|
+
# PolyrexObject parent
|
93
|
+
|
94
|
+
node.parent.parent.parent.parent ? true : false
|
95
|
+
end
|
96
|
+
|
89
97
|
def to_doc()
|
90
98
|
Rexle.new @node.to_a
|
91
99
|
end
|
@@ -350,4 +358,4 @@ EOF
|
|
350
358
|
|
351
359
|
|
352
360
|
|
353
|
-
end
|
361
|
+
end
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|