module Encrubto::Rot13
Public Class Methods
decrypt(encrypted)
click to toggle source
# File lib/encrubto/rot13.rb, line 11 def self.decrypt(encrypted) rot13 = Encrubto::Rot13::Encryptor.new rot13.decrypt(encrypted) end
encrypt(str)
click to toggle source
# File lib/encrubto/rot13.rb, line 6 def self.encrypt(str) rot13 = Encrubto::Rot13::Encryptor.new rot13.encrypt(str) end