lib/te3270/emulator_factory.rb in te3270-0.7.1 vs lib/te3270/emulator_factory.rb in te3270-0.8.0
- old
+ new
@@ -1,8 +1,9 @@
require 'te3270/emulators/extra'
require 'te3270/emulators/quick3270'
require 'te3270/emulators/x3270'
+require 'te3270/emulators/virtel'
module TE3270
#
# Provides a mapping between a key used in the +emulator_for+ method
# and the class that implements the access to the emulator.
@@ -10,10 +11,11 @@
module EmulatorFactory
EMULATORS = {
extra: TE3270::Emulators::Extra,
quick3270: TE3270::Emulators::Quick3270,
- x3270: TE3270::Emulators::X3270
+ x3270: TE3270::Emulators::X3270,
+ virtel: TE3270::Emulators::Virtel
}
def self.emulator_for(platform)
EMULATORS[platform]
end
\ No newline at end of file