Object
A transliterator which accepts a Proc as its transliteration rule.
# File lib/i18n/backend/transliterator.rb, line 28 def initialize(rule) @rule = rule end
# File lib/i18n/backend/transliterator.rb, line 32 def transliterate(string, replacement = nil) @rule.call(string) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.