Skip to content

Instantly share code, notes, and snippets.

@benmanns
Created June 25, 2010 15:42
Show Gist options
  • Save benmanns/453028 to your computer and use it in GitHub Desktop.
Save benmanns/453028 to your computer and use it in GitHub Desktop.
module ApplicationHelper
def spell_text(text)
words = text.split('').map do |letter|
content_tag 'Say' do
letter.sub('.', 'dot').sub('-', 'dash')
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment