Module Nanoc::StringExtensions
In: lib/nanoc/base/core_ext/string.rb

encoding: utf-8

Methods

Public Instance methods

Calculates the checksum for this string. Any change to this string will result in a different checksum.

@return [String] The checksum for this string

@api private

Transforms string into an actual identifier

@return [String] The identifier generated from the receiver

Replaces Unicode characters with their ASCII decompositions if the environment does not support Unicode.

This method is not suited for general usage. If you need similar functionality, consider using the Iconv library instead.

@return [String] The decomposed string

[Validate]