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


rehash

ENV.rehash Class Public methods Re-hashing the environment variables does nothing. It is provided for compatibility with Hash.

rassoc

ENV.rassoc(value) Class Public methods Returns an Array of the name and value of the environment variable with value or nil if the value cannot be found.

pretty_print

pretty_print(q) Class Public methods

member?

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

length

ENV.length Class Public methods Returns the number of environment variables.

keys

ENV.keys â Array Class Public methods Returns every environment variable name in an Array

key?

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

key

ENV.key(value) â name Class Public methods Returns the name of the environment variable with value. If the value is not found nil is returned.

keep_if

ENV.keep_if { |name, value| } â HashENV.keep_if â Enumerator Class Public methods Deletes every environment variable where the block evaluates to false. Returns an enumerator if no block was given.

invert

ENV.invert â Hash Class Public methods Returns a new hash created by using environment variable names as values and values as names.

Page 2117 of 2275

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

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions