25 lines
244 B
Ruby
25 lines
244 B
Ruby
|
require 'rex/ui'
|
||
|
|
||
|
module Rex
|
||
|
module Ui
|
||
|
module Text
|
||
|
|
||
|
###
|
||
|
#
|
||
|
# Stdio
|
||
|
# -----
|
||
|
#
|
||
|
# This class implements output against standard out.
|
||
|
#
|
||
|
###
|
||
|
class Output::Stdio < Rex::Ui::Text::Output
|
||
|
|
||
|
def print(msg = '')
|
||
|
$stdout.print(msg)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|