lib/rex/ui/text/input.rb in librex-0.0.30 vs lib/rex/ui/text/input.rb in librex-0.0.31
- old
+ new
@@ -11,13 +11,13 @@
# interact with a derived class.
#
###
class Input
- require 'rex/ui/text/input/stdio'
- require 'rex/ui/text/input/readline'
- require 'rex/ui/text/input/socket'
- require 'rex/ui/text/color'
+ autoload :Buffer, 'rex/ui/text/color'
+ autoload :Stdio, 'rex/ui/text/input/stdio'
+ autoload :Readline, 'rex/ui/text/input/readline'
+ autoload :Socket, 'rex/ui/text/input/socket'
include Rex::Ui::Text::Color
def initialize
self.eof = false