Files
metasploit-gs/lib/rex/ui/text/output/buffer/stdout.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
636 B
Ruby
Raw Normal View History

# -*- coding: binary -*-
2013-04-01 20:16:28 -05:00
# make sure the classes are defined before opening it to define submodule
module Rex
module Ui
module Text
2013-04-01 20:16:28 -05:00
class Output
class Buffer
# Adds {#write} method to {Rex::Ui::Text::Output::Buffer} so it can
# function as a stand-in for `$stdout`
module Stdout
# Prints raw message.
#
# @param (see Rex::Ui::Text::Output::Buffer#write)
# @return (see Rex::Ui::Text::Output::Buffer#write)
def write(msg = '')
print_raw(msg)
end
end
end
end
end
end
2021-01-28 10:35:25 +00:00
end