1 2 3 4 5 6 7 8 9 10 11 12 |
def format(content, type)
return '' unless content
+ content = content.gsub(/./, '?')
if type == :number
content
else
|
Pastie
Support Pastie
or read my
Pastie << self
blog
1 2 3 4 5 6 7 8 9 10 11 12 |
def format(content, type)
return '' unless content
+ content = content.gsub(/./, '?')
if type == :number
content
else
|