def to_ruby_method!(allow_bangs = true)
      leader, trailer = @wrapped_string.strip.scan(/\A(.+)(.)\z/).flatten
      leader          = leader.to_s
      trailer         = trailer.to_s
      if allow_bangs
        trailer.downcase!
        trailer.gsub!(/[^a-z0-9!=\\?]/, '')
      else
        trailer.downcase!
        trailer.gsub!(/[^a-z0-9]/, '')
      end
      id = leader.to_identifier
      id.transliterate!
      id.to_ascii!
      id.clean!
      id.word_chars!
      id.clean!
      @wrapped_string = id.to_s + trailer
      if @wrapped_string == ""
        raise Error, "Input generates impossible Ruby method name"
      end
      with_separators!("_")
    end
def to_ruby_method!(allow_bangs = true)
      leader, trailer = @wrapped_string.strip.scan(/\A(.+)(.)\z/).flatten
      leader          = leader.to_s
      trailer         = trailer.to_s
      if allow_bangs
        trailer.downcase!
        trailer.gsub!(/[^a-z0-9!=\\?]/, '')
      else
        trailer.downcase!
        trailer.gsub!(/[^a-z0-9]/, '')
      end
      id = leader.to_identifier
      id.transliterate!
      id.to_ascii!
      id.clean!
      id.word_chars!
      id.clean!
      @wrapped_string = id.to_s + trailer
      if @wrapped_string == ""
        raise Error, "Input generates impossible Ruby method name"
      end
      with_separators!("_")
    end
Normalize a string so that it can safely be used as a Ruby method name.