w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
html_escape

html_escape(s) Class Public methods A utility method for escaping HTML tag characters. This method is also aliased as h. In your ERB templates, use this method to escape any unsafe content. For example: <%=h @person.name %> puts html_escape('is a > 0 & a < 10?') # => is a &gt; 0 &amp; a &lt; 10? h

html_escape_once

html_escape_once(s) Class Public methods A utility method for escaping HTML without affecting existing escaped entities. html_escape_once('1 < 2 &amp; 3') # => "1 &lt; 2 &amp; 3" html_escape_once('&lt;&lt; Accept & Checkout') # => "&lt;&lt; Accept &amp; Checkout"

json_escape

json_escape(s) Class Public methods A utility method for escaping HTML entities in JSON strings. Specifically, the &, > and < characters are replaced with their equivalent unicode escaped form - u0026, u003e, and u003c. The Unicode sequences u2028 and u2029 are also escaped as they are treated as newline characters in some JavaScript engines. These sequences have identical meaning as the original characters inside the context of a JSON string, so assuming the input is a v

feel

feel(exhibits) Class Public methods

look

look(exhibits) Class Public methods

with_name

with_name() Class Public methods

with_notes

with_notes() Class Public methods

feel 2

feel() Instance Public methods

look 2

look() Instance Public methods

blank?

blank?() Instance Public methods false is blank: false.blank? # => true @return [true]

Popular Articles
Arrayable::toArray() array toArray() Get the instance as an array. Return Value array
type type() Instance Public methods
Store::clear() clear() {@inheritdoc}
importlib.machinery.SourceFileLoader.load_module() load_module(name=None) Concrete implementation of importlib.abc.Loader.load_module() where specifying the name of the module to load is optional.
proxy_ssl_verify_depth Syntax: proxy_ssl_verify_depth number; Default: proxy_ssl_verify_depth 1; Context: stream, server Sets the verification depth in the pro


Page 2236 of 11844

|< < Prev 2233 2234 2235 2236 2237 2238 2239 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions