Add an alias for write

Fixes #4971
bug/bundler_fix
James Lee 2015-04-30 08:56:16 -05:00
parent 4ffffa59fe
commit 3e40433f00
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class Output::File < Rex::Ui::Text::Output
self.fd.flush
msg
end
alias_method :write, :print_raw
def close
self.fd.close if self.fd