Rex::Ui::Text::Output
This class implements output against a file
# File lib/rex/ui/text/output/file.rb, line 16 def initialize(path) self.fd = ::File.open(path, "wb") end
# File lib/rex/ui/text/output/file.rb, line 34 def close self.fd.close if self.fd self.fd = nil end
Prints the supplied message to file output.
# File lib/rex/ui/text/output/file.rb, line 27 def print_raw(msg = '') return if not self.fd self.fd.write(msg) self.fd.flush msg end
# File lib/rex/ui/text/output/file.rb, line 20 def supports_color? false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.