class MorseMeNicely::Processor

Public Class Methods

encode(input_text, without_obfuscation=false) click to toggle source
# 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).obfuscated_input unless without_obfuscation
  text
end