Sha256: 667e2d07a906f5a01a113a40f598f4e4fca86a50d569f362f61d51910df5e28e

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

require 'phonetic/caverphone2'

class String
  # Caverphone 2 value of string
  # @example
  #    'Stevenson'.caverphone2 # => 'STFNSN1111'
  #    'Peter'.caverphone2 # => 'PTA1111111'
  def caverphone2(options = {})
    Phonetic::Caverphone2.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/caverphone2.rb
phonetic-1.1.0 lib/phonetic/core_ext/string/caverphone2.rb
phonetic-1.0.1 lib/phonetic/core_ext/string/caverphone2.rb
phonetic-1.0.0 lib/phonetic/core_ext/string/caverphone2.rb