fix to_s (mostly)

This commit is contained in:
2019-09-19 20:48:21 +03:00
parent 1e2c4d6678
commit 113ba8607c
14 changed files with 33 additions and 24 deletions

View File

@ -45,7 +45,7 @@ module Ruby
end
def to_s(depth = 0)
at_depth(depth , *@statements.collect{|st| st.to_s(depth)})
at_depth(depth , @statements.collect{|st| st.to_s(depth)}.join("\n"))
end
end