lib/nugrant/mixin/parameters.rb in nugrant-2.0.2 vs lib/nugrant/mixin/parameters.rb in nugrant-2.1.0

- old
+ new

@@ -46,10 +46,18 @@ def array_merge_strategy @__config.array_merge_strategy end + def auto_export + @__config.auto_export + end + + def auto_export_script_path + @__config.auto_export_script_path + end + ## # Change the current array merge strategy for this parameters. # # @param strategy The new strategy to use. def array_merge_strategy=(strategy) @@ -57,9 +65,17 @@ @__config.array_merge_strategy = strategy # When array_merge_strategy change, we need to recompute parameters hierarchy compute_all!() + end + + def auto_export=(auto_export) + @__config.auto_export = auto_export + end + + def auto_export_script_path=(path) + @__config.auto_export_script_path = path end def defaults() @__defaults end