Module: Msf::Ui::Console::Table::DefaultStyle

Defined in:
lib/msf/ui/console/table.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject

Print nothing if there are no rows if the style is default.


45
46
47
48
49
# File 'lib/msf/ui/console/table.rb', line 45

def to_s
  return '' if (rows.length == 0)

  super
end