Module: TE3270::EmulatorFactory
- Defined in:
- lib/te3270/emulator_factory.rb
Overview
Provides a mapping between a key used in the emulator_for
method and the class that implements the access to the emulator.
Constant Summary collapse
- EMULATORS =
{ bluezone: TE3270::Emulators::BlueZone, extra: TE3270::Emulators::Extra, quick3270: TE3270::Emulators::Quick3270, x3270: TE3270::Emulators::X3270, virtel: TE3270::Emulators::Virtel }
Class Method Summary collapse
Class Method Details
.emulator_for(platform) ⇒ Object
22 23 24 |
# File 'lib/te3270/emulator_factory.rb', line 22 def self.emulator_for(platform) EMULATORS[platform] end |