module
RDoc::Text
v1_9_3_125 -
Show latest stable
Methods for manipulating comment text
Constants
TO_HTML_CHARACTERS = Hash.new do |h, encoding|\nh[encoding] = {\n:close_dquote => encode_fallback('â', encoding, '"'),\n:close_squote => encode_fallback('â', encoding, '\\''),\n:copyright => encode_fallback('©', encoding, '(c)'),\n:ellipsis => encode_fallback('â¦', encoding, '...'),\n:em_dash => encode_fallback('â', encoding, '---'),\n:en_dash => encode_fallback('â', encoding, '--'),\n:open_dquote => encode_fallback('â', encoding, '"'),\n:open_squote => encode_fallback('â', encoding, '\\''),\n:trademark => encode_fallback('®', encoding, '(r)'),\n}\nend if Object.const_defined? :Encoding
Files
- lib/rdoc/text.rb