Sha256: c579f7a6e604a09997a3d6002d6f3db2bf8024c8be0ddd33083cd6be095f3e3c

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

require 'phonetic/caverphone'

class String
  # Caverphone value of string
  # @example
  #    'Lashaunda'.caverphone # => 'LSNT11'
  #    'Vidaurri'.caverphone # => 'FTR111'
  def caverphone(options = {})
    Phonetic::Caverphone.encode(self, options)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phonetic-1.2.0 lib/phonetic/core_ext/string/caverphone.rb
phonetic-1.1.0 lib/phonetic/core_ext/string/caverphone.rb
phonetic-1.0.1 lib/phonetic/core_ext/string/caverphone.rb
phonetic-1.0.0 lib/phonetic/core_ext/string/caverphone.rb