roundtrip_xml 1.0.5 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roundtrip_xml/base_cleanroom.rb +5 -0
- data/lib/roundtrip_xml/utils.rb +4 -0
- 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: 6d353e1be5b928524c4e94ad5caf990d279c2773
|
4
|
+
data.tar.gz: 5ec3cb5d5b0d4d8f72c1befd6969b0eea45148a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779f7cd08f879da508b3b367136d01243284c75c43430b2666fad5ac7a56464ddecd7d3d1c26cac1aeca70b182bdec20c49da7e40294025038cddc63535241ac
|
7
|
+
data.tar.gz: 525538e4d2d219cf81749fba0863dff4071be35991f6cf37a9ba8c861d5875f01754afd1966d048fc9b035683489e6e3e4e7ba0e19c78f6155168faa90164b82
|
@@ -57,6 +57,11 @@ class BaseCleanroom
|
|
57
57
|
self.class.send(:define_method, name, &block)
|
58
58
|
end
|
59
59
|
|
60
|
+
def _metadata(hash)
|
61
|
+
get_el._metadata = get_el._metadata.merge hash
|
62
|
+
end
|
63
|
+
expose :_metadata
|
64
|
+
|
60
65
|
def expand(clazz, &block)
|
61
66
|
plain_accessors = @el.class.plain_accessors
|
62
67
|
@value_holder ||= {}
|
data/lib/roundtrip_xml/utils.rb
CHANGED