Current Path : /usr/local/share/ri/1.8/system/ERB/Util/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/ERB/Util/html_escape-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: h block_params: comment: - !ruby/struct:SM::Flow::P body: A utility method for escaping HTML tag characters in <em>s</em>. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n include ERB::Util\n\n puts html_escape("is a > 0 & a < 10?")\n" - !ruby/struct:SM::Flow::P body: <em>Generates</em> - !ruby/struct:SM::Flow::VERB body: " is a &gt; 0 &amp; a &lt; 10?\n" full_name: ERB::Util#html_escape is_singleton: false name: html_escape params: (s) visibility: public