From de572162d5346257f35aadeb1dab78bb670f26be Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Tue, 9 Jun 2020 09:17:57 -0500 Subject: [PATCH] Load config variables type as symbols --- lib/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.rb b/lib/config.rb index b58e672..1fc4835 100644 --- a/lib/config.rb +++ b/lib/config.rb @@ -134,7 +134,7 @@ module TAC end def self.from_json(hash) - Variable.new(name: hash[:name], type: hash[:type], value: hash[:value]) + Variable.new(name: hash[:name], type: hash[:type].to_sym, value: hash[:value]) end end end