From 85c0a48393f41dfea89d139769e7895a5ffc0af6 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 11 Apr 2017 09:14:16 +0300 Subject: [PATCH] Use `Generator` class instead of `dump` method for config generation --- resources/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/config.rb b/resources/config.rb index d4ea207..2911128 100644 --- a/resources/config.rb +++ b/resources/config.rb @@ -11,7 +11,7 @@ require 'toml' file path do - content TOML.dump(config) + content TOML::Generator.new(config).body end end