lib/prmd/core/combiner.rb in prmd-0.11.11 vs lib/prmd/core/combiner.rb in prmd-0.12.0

- old
+ new

@@ -11,10 +11,11 @@ def initialize(properties = {}) @properties = properties @schema = properties.fetch(:schema) @base = properties.fetch(:base, {}) @meta = properties.fetch(:meta, {}) + @options = properties.fetch(:options, {}) end # @param [Object] datum # @return [Object] def reference_localizer(datum) @@ -51,10 +52,10 @@ data['properties'][id_ary] = { '$ref' => "#/definitions/#{id_ary}" } reference_localizer(data['definitions'][id_ary]) end - Prmd::Schema.new(data) + Prmd::Schema.new(data, @options) end private :reference_localizer end end