lib/qonfig/data_set.rb in qonfig-0.22.0 vs lib/qonfig/data_set.rb in qonfig-0.23.0
- old
+ new
@@ -201,11 +201,11 @@
)
end
end
alias_method :to_hash, :to_h
- # @option path [String]
+ # @option path [String, Pathname]
# @option options [Hash<Symbol|String,Any>] Native (ruby-stdlib) ::JSON#generate attributes
# @param value_processor [Block]
# @return [void]
#
# @api public
@@ -215,10 +215,10 @@
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 path [String, Pathname]
# @option symbolize_keys [Boolean]
# @option options [Hash<Symbol|String,Any>] Native (ruby-stdlib) ::YAML#dump attributes
# @param value_processor [Block]
# @return [void]
#