Commit 30b78f2c authored by Olivier Halligon's avatar Olivier Halligon

Fixing #2603 formatting issue

parent 1703a346
...@@ -196,8 +196,13 @@ module Pod ...@@ -196,8 +196,13 @@ module Pod
''.tap do |t| ''.tap do |t|
t << " - #{label}:".ljust(justification) t << " - #{label}:".ljust(justification)
if value.is_a?(Array) if value.is_a?(Array)
separator = "\n - " indent = self.indentation_level + 2
puts_indented t << separator << value.join(separator) puts_indented t << "\n"
value.each do |v|
t << wrap_string(" - #{v.to_s}\n", indent).tap do |line|
puts line
end << "\n"
end
else else
puts_indented t << value.to_s << "\n" puts_indented t << value.to_s << "\n"
end end
......
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