lib/qonfig/dsl.rb in qonfig-0.21.0 vs lib/qonfig/dsl.rb in qonfig-0.22.0

- old
+ new

@@ -152,11 +152,11 @@ # @sine 0.1.0 def compose(data_set_klass) definition_commands << Qonfig::Commands::Definition::Compose.new(data_set_klass) end - # @param file_path [String] + # @param file_path [String, Pathname] # @option strict [Boolean] # @return [void] # # @see Qonfig::Commands::Definition::LoadFromYAML # @@ -198,11 +198,11 @@ prefix: prefix, trim_prefix: trim_prefix ) end - # @param file_path [String] + # @param file_path [String, Pathname] # @option strict [Boolean] # @return [void] # # @see Qonfig::Commands::Definition::LoadFromJSON # @@ -210,11 +210,11 @@ # @since 0.5.0 def load_from_json(file_path, strict: true) definition_commands << Qonfig::Commands::Definition::LoadFromJSON.new(file_path, strict: strict) end - # @param file_path [String] + # @param file_path [String, Pathname] # @option strict [Boolean] # @option via [Symbol] # @option env [Symbol, String] # @return [void] # @@ -226,11 +226,11 @@ definition_commands << Qonfig::Commands::Definition::ExposeYAML.new( file_path, strict: strict, via: via, env: env ) end - # @param file_path [String] + # @param file_path [String, Pathname] # @option strict [Boolean] # @option via [Symbol] # @option env [Symbol, String] # @return [void] # @@ -259,10 +259,10 @@ definition_commands << Qonfig::Commands::Definition::ExposeSelf.new( caller_location, env: env, format: format ) end - # @param file_path [String] + # @param file_path [String, Pathname] # @option format [String, Symbol] # @option strict [Boolean] # @option expose [NilClass, String, Symbol] Environment key # @return [void] #