lib/qonfig/data_set.rb in qonfig-0.11.0 vs lib/qonfig/data_set.rb in qonfig-0.12.0

- old
+ new

@@ -99,10 +99,11 @@ def save_to_json(path:, options: Qonfig::Uploaders::JSON::DEFAULT_OPTIONS, &value_processor) thread_safe_access do Qonfig::Uploaders::JSON.upload(settings, path: path, options: options, &value_processor) end end + alias_method :dump_to_json, :save_to_json # @option path [String] # @option symbolize_keys [Boolean] # @option options [Hash<Symbol|String,Any>] Native (ruby-stdlib) ::YAML#dump attributes # @param value_processor [Block] @@ -123,9 +124,10 @@ options: options.merge(symbolize_keys: symbolize_keys), &value_processor ) end end + alias_method :dump_to_yaml, :save_to_yaml # @param key [String, Symbol] # @return [Object] # # @api public