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
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


u

u(s) Class Public methods Alias for: url_encode

html_escape

html_escape(s) Class Public methods A utility method for escaping HTML tag characters in s. require "erb" include ERB::Util puts html_escape("is a > 0 & a < 10?") Generates is a &gt; 0 &amp; a &lt; 10? h

h

h(s) Class Public methods Alias for: html_escape

def_erb_method

def_erb_method(methodname, erb_or_fname) Class Public methods define methodname as instance method of current module, using ERB object or eRuby file

values_at

ENV.values_at(name, ...) â Array Class Public methods Returns an array containing the environment variable values associated with the given names. See also ::select.

values

ENV.values â Array Class Public methods Returns every environment variable value as an Array

value?

ENV.value?(value) â true or false Class Public methods Returns true if there is an environment variable with the given value.

update

ENV.update(hash) â HashENV.update(hash) { |name, old_value, new_value| } â Hash Class Public methods Adds the contents of hash to the environment variables. If no block is specified entries with duplicate keys are overwritten, otherwise the value of each duplicate name is determined by calling the block with the key, its value from the environment and its value from the hash.

to_s

ENV.to_s â "ENV" Class Public methods Returns âENVâ

to_hash

ENV.to_hash â hash Class Public methods Creates a hash with a copy of the environment variables.

Page 2115 of 2275

|< < Prev 2112 2113 2114 2115 2116 2117 2118 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions