Load config variables type as symbols

This commit is contained in:
2020-06-09 09:17:57 -05:00
parent 287f8db2d8
commit de572162d5

View File

@@ -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