Sha256: a101667580539977769460bacc73a7e8605452e68af217d70dc4b93d68dbe543
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require "ascii/unidecoder" require "ascii/version" # The main module of the gem, exposes only <tt>process</tt> method. # Can be mixed into other classes. module Ascii extend self # Generates the approximate ASCII repsentation of the given # string # # @param str [String] The string you want to approximate # @return [String] The ASCII approximation of the input string def process(str) Unidecoder.new(str).to_ascii end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ascii-1.0.1 | lib/ascii.rb |