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
to_a

ENV.to_a â Array Class Public methods Converts the environment variables into an array of names and value arrays. ENV.to_a # => [["TERM", "xterm-color"], ["SHELL", "/bin/bash"], ...]

to_h

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

to_hash

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

to_s

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

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.

value?

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

values

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

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.

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

h

h(s) Class Public methods Alias for: html_escape

Popular Articles
authclient\BaseOAuth api() api() public method Performs request to the OAuth API. public array api ( $apiSubUrl, $method = 'GET', array $params = [], array $headers = []
ps_set_value (PECL ps >= 1.1.0) Sets certain values bool ps_set_value ( resource $psdoc, string $name, float
pos pos SCALAR pos Returns the offset of where the last m//g search left off for the variable in question ($_ is used when the variable is not specified)
Database: Query Builder Database: Query Builder Introduction Retrieving Results Chunking Results Aggregates Selects Raw Expressions Joins Unions Where Clauses Parameter G
shortest-path shortest_path skimage.graph.shortest_path(arr, reach=1, axis=-1, output_indexlist=False) [source] Find the shortest path through an n-d array from


Page 217 of 11844

|< < Prev 214 215 216 217 218 219 220 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions