lib/cfndsl/Metadata.rb in cfndsl-0.0.9 vs lib/cfndsl/Metadata.rb in cfndsl-0.0.10
- old
+ new
@@ -3,8 +3,20 @@
module CfnDsl
class MetadataDefinition < JSONable
##
# Handles Metadata objects
+ def initialize(value)
+ @value = value;
+ end
+
+ def value
+ return @value
+ end
+
+ def to_json(*a)
+ @value.to_json(*a)
+ end
+
end
end