Commit c59953a1 authored by Olivier Halligon's avatar Olivier Halligon

[UI::labeled] Fixing lines array appending code

parent a04fdffe
...@@ -197,8 +197,8 @@ module Pod ...@@ -197,8 +197,8 @@ module Pod
output = begin output = begin
if value.is_a?(Array) if value.is_a?(Array)
lines = [wrap_string(title, self.indentation_level)] lines = [wrap_string(title, self.indentation_level)]
lines << value.map do |v| value.each do |v|
wrap_string("- #{v}", self.indentation_level + 2) lines << wrap_string("- #{v}", self.indentation_level + 2)
end end
lines.join("\n") lines.join("\n")
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment