fix for issue #200
This commit is contained in:
@@ -18,9 +18,11 @@ class WpUsers < WpItems
|
|||||||
rows << row
|
rows << row
|
||||||
end
|
end
|
||||||
|
|
||||||
puts Terminal::Table.new(headings: headings,
|
table = Terminal::Table.new(headings: headings,
|
||||||
rows: rows,
|
rows: rows,
|
||||||
style: { margin_left: options[:margin_left] || '' })
|
style: { margin_left: options[:margin_left] || '' }).to_s
|
||||||
|
# variable needed for output
|
||||||
|
puts table
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user