module Leetify
Constants
- VERSION
Public Class Methods
convert(str)
click to toggle source
# File lib/leetify.rb, line 5 def self.convert(str) str.gsub(/./){|char| $hash_map[char] || char} end
# File lib/leetify.rb, line 5 def self.convert(str) str.gsub(/./){|char| $hash_map[char] || char} end