D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
ERB
/
Util
/
Filename :
html_escape-i.yaml
back
Copy
--- !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