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
merge

merge(hash, &block) Instance Public methods This method has the same semantics of update, except it does not modify the receiver but rather returns a new hash with indifferent access with the result of the merge.

merge!

merge!(other_hash) Instance Public methods Alias for: update

nested_under_indifferent_access

nested_under_indifferent_access() Instance Public methods

regular_update

regular_update(other_hash) Instance Public methods Alias for: update

regular_writer

regular_writer(key, value) Instance Public methods Alias for: []=

reject

reject(*args, &block) Instance Public methods

replace

replace(other_hash) Instance Public methods Replaces the contents of this hash with other_hash. h = { "a" => 100, "b" => 200 } h.replace({ "c" => 300, "d" => 400 }) # => {"c"=>300, "d"=>400}

reverse_merge

reverse_merge(other_hash) Instance Public methods Like merge but the other way around: Merges the receiver into the argument and returns a new hash with indifferent access as result: hash = ActiveSupport::HashWithIndifferentAccess.new hash['a'] = nil hash.reverse_merge(a: 0, b: 1) # => {"a"=>nil, "b"=>1}

reverse_merge!

reverse_merge!(other_hash) Instance Public methods Same semantics as reverse_merge but modifies the receiver in-place.

select

select(*args, &block) Instance Public methods

Popular Articles
IteratorAggregate::getIterator (PHP 5 >= 5.0.0, PHP 7) Retrieve an external iterator abstract public Traversable IteratorAggre
sklearn.datasets.load_lfw_pairs() Warning DEPRECATED sklearn.datasets.load_lfw_pairs(*args, **kwargs) [source] DEPRECATED: Function ?load_lfw_pairs? has been deprecated in 0.17
Writing Tests for PHPUnit Example 2.1 shows how we can write tests using PHPUnit that exercise PHP's array operations. The example introduces the basic conventions and steps
list (PHP 4, PHP 5, PHP 7) Assign variables as if they were an array array list ( mixed $var1 [, mixed
AccessResult::allowedIfHasPermissions public static AccessResult::allowedIfHasPermissions(AccountInterface $account, array $permissions, $conjunction = 'AND') Creates an allowed access re


Page 2184 of 11844

|< < Prev 2181 2182 2183 2184 2185 2186 2187 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions