Class/Module Index [+]

Quicksearch

Rex::Ui::Text::Output::File

This class implements output against a file

Attributes

fd[RW]

Public Class Methods

new(path) click to toggle source
# File lib/rex/ui/text/output/file.rb, line 16
def initialize(path)
        self.fd = ::File.open(path, "wb")
end

Public Instance Methods

close() click to toggle source
# File lib/rex/ui/text/output/file.rb, line 34
def close
        self.fd.close if self.fd
        self.fd = nil
end
supports_color?() click to toggle source
# File lib/rex/ui/text/output/file.rb, line 20
def supports_color?
        false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.