Module: Ascii
- Extended by:
- Ascii
- Included in:
- Ascii
- Defined in:
- lib/ascii.rb,
lib/ascii/version.rb,
lib/ascii/codepoint.rb,
lib/ascii/unidecoder.rb
Overview
The main module of the gem, exposes only process
method. Can be mixed into other classes.
Defined Under Namespace
Classes: Codepoint, Unidecoder
Constant Summary collapse
- VERSION =
"1.0.1".freeze
Instance Method Summary collapse
-
#process(str) ⇒ String
Generates the approximate ASCII repsentation of the given string.
Instance Method Details
#process(str) ⇒ String
Generates the approximate ASCII repsentation of the given string
14 15 16 |
# File 'lib/ascii.rb', line 14 def process(str) Unidecoder.new(str).to_ascii end |