Files
metasploit-gs/lib/rex/ui/text/output/stdio.rb
T
Matt Miller 95f8210853 major doc update
git-svn-id: file:///home/svn/incoming/trunk@3029 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-15 05:22:13 +00:00

28 lines
306 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