lib/qonfig/plugins/toml/dsl.rb in qonfig-0.16.0 vs lib/qonfig/plugins/toml/dsl.rb in qonfig-0.17.0

- old
+ new

@@ -8,11 +8,13 @@ # @return [void] # # @api public # @since 0.12.0 def load_from_toml(file_path, strict: true) - commands << Qonfig::Commands::LoadFromTOML.new(file_path, strict: strict) + definition_commands << Qonfig::Commands::LoadFromTOML.new( + file_path, strict: strict + ) end # @param file_path [String] # @option strict [Boolean] # @option via [Symbol] @@ -20,8 +22,10 @@ # @return [void] # # @api public # @since 0.12.0 def expose_toml(file_path, strict: true, via:, env:) - commands << Qonfig::Commands::ExposeTOML.new(file_path, strict: strict, via: via, env: env) + definition_commands << Qonfig::Commands::ExposeTOML.new( + file_path, strict: strict, via: via, env: env + ) end end