Class: MorseMeNicely::Processor
- Inherits:
-
Object
- Object
- MorseMeNicely::Processor
- Defined in:
- lib/morse_me_nicely.rb
Class Method Summary collapse
Class Method Details
.encode(input_text, without_obfuscation = false) ⇒ Object
19 20 21 22 23 |
# File 'lib/morse_me_nicely.rb', line 19 def self.encode(input_text, without_obfuscation=false) text = Encoder.new(input_text).encoded_input text = Obfuscator.new(text). unless without_obfuscation text end |