Class: EnigmaRuby::Commands::Base
- Inherits:
-
Object
- Object
- EnigmaRuby::Commands::Base
- Defined in:
- lib/enigma_ruby/commands/base.rb
Direct Known Subclasses
AdvanceRotors, EncodeRotorBackward, EncodeRotorForward, Reflect, SwapPlugboard
Instance Method Summary collapse
Instance Method Details
#execute(context) ⇒ Object
4 5 6 |
# File 'lib/enigma_ruby/commands/base.rb', line 4 def execute(context) raise NotImplementedError, 'Subclasses must implement execute(context)' end |