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
linear_model.SGDClassifier() class sklearn.linear_model.SGDClassifier(loss='hinge', penalty='l2', alpha=0.0001, l1_ratio=0.15, fit_intercept=True, n_iter=5, shuffle=True, verbo
Blueprint::smallInteger() Fluent smallInteger(string $column, bool $autoIncrement = false, bool $unsigned = false) Create a new small integer (2-byte) column
geoproject geoproject [options…] projection [file] Projects the GeoJSON object in the specified input file using the specified projection, outputting a new G
MatcherDumper Dumps Route information to a database table. Hierarchy class \Drupal\Core\Routing\MatcherDumper implements MatcherDumperInterface See also \Drupa
lua_close lua_close[-0, +0, –] void lua_close (lua_State *L); Destroys all objects in the given Lua state (calling the corresponding garbage-collection meta


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