Class Hash
In: lib/jekyll/core_ext.rb
Parent: Object

Methods

Public Instance methods

Merges self with another hash, recursively.

This code was lovingly stolen from some random gem: gemjack.com/gems/tartan-0.1.1/classes/Hash.html

Thanks to whoever made it.

Read array from the supplied hash favouring the singular key and then the plural key, and handling any nil entries.

  +hash+ the hash to read from
  +singular_key+ the singular key
  +plural_key+ the singular key

Returns an array

[Validate]