ruby/lib/rubygems/specification.rb
##
# Sanitize the descriptive fields in the spec.  Sometimes non-ASCII
# characters will garble the site index.  Non-ASCII characters will
# be replaced by their XML entity equivalent.
Sanitize the descriptive fields in the spec.  Sometimes non-ASCII
characters will garble the site index.  Non-ASCII characters will
be replaced by their XML entity equivalent.
Sanitize the descriptive fields in the spec . Sometimes non - ASCII characters will garble the site index . Non - ASCII characters will be replaced by their XML entity equivalent .
def sanitize
    self.summary              = sanitize_string(summary)
    self.description          = sanitize_string(description)
    self.post_install_message = sanitize_string(post_install_message)
    self.authors              = authors.collect { |a| sanitize_string(a) }
  end
def sanitize self . summary = sanitize_string ( summary ) self . description = sanitize_string ( description ) self . post_install_message = sanitize_string ( post_install_message ) self . authors = authors . collect { | a | sanitize_string ( a ) } end
Sanitize the descriptive fields in the spec.
Sanitize the descriptive fields in the spec .