Ben's Morse Code Module


[email protected] www.BenSinclair.com

This software is released into the public domain with no warranty.

Usage:

require 'rubygems'

require_gem 'morse'

Morse.encode 'hello world' => “.… . .-.. .-.. — .– — .-. .-.. -..”

Morse.decode '.… . .-.. .-.. — .– — .-. .-.. -..' => “HELLO WORLD”