Files
metasploit-gs/lib/rex/ui/text/output/stdio.rb
T
Ramon de C Valle f124597a56 Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00

27 lines
305 B
Ruby

require 'rex/ui'
module Rex
module Ui
module Text
###
#
# This class implements output against standard out.
#
###
class Output::Stdio < Rex::Ui::Text::Output
#
# Prints the supplied message to standard output.
#
def print(msg = '')
$stdout.print(msg)
$stdout.flush
msg
end
end
end
end
end