From 603a1627df808816f99e8a26004f04fa0e705e13 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 16 Feb 2022 16:21:37 +0100 Subject: [PATCH] RPL's lists are enclosed in {} --- lib/rpl/interpreter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rpl/interpreter.rb b/lib/rpl/interpreter.rb index f693143..fb3096a 100644 --- a/lib/rpl/interpreter.rb +++ b/lib/rpl/interpreter.rb @@ -197,7 +197,7 @@ class Interpreter "#{prefix}#{suffix}" when :list - "[#{elt[:value].map { |e| stringify( e ) }.join(', ')}]" + "{ #{elt[:value].map { |e| stringify( e ) }.join(' ')} }" when :program "« #{elt[:value]} »" when :string