fix for issue #200

This commit is contained in:
Christian Mehlmauer
2013-05-28 18:41:08 +02:00
parent ebfe2ef08d
commit 8c9d82cb6d

View File

@@ -18,9 +18,11 @@ class WpUsers < WpItems
rows << row
end
puts Terminal::Table.new(headings: headings,
table = Terminal::Table.new(headings: headings,
rows: rows,
style: { margin_left: options[:margin_left] || '' })
style: { margin_left: options[:margin_left] || '' }).to_s
# variable needed for output
puts table
end
end