lib/qonfig/dsl.rb in qonfig-0.6.0 vs lib/qonfig/dsl.rb in qonfig-0.7.0
- old
+ new
@@ -106,7 +106,19 @@
# @api public
# @since 0.5.0
def load_from_json(file_path, strict: true)
commands << Qonfig::Commands::LoadFromJSON.new(file_path, strict: strict)
end
+
+ # @param file_path [String]
+ # @option strict [Boolean]
+ # @option via [Symbol]
+ # @option env [Symbol, String]
+ # @return [void]
+ #
+ # @api public
+ # @since 0.7.0
+ def expose_yaml(file_path, strict: true, via:, env:)
+ commands << Qonfig::Commands::ExposeYAML.new(file_path, strict: strict, via: via, env: env)
+ end
end
end