fix to_s (mostly)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user