Class Nanoc::Extra::Validators::Links::ThreadsafeHashEnumerator
In: lib/nanoc/extra/validators/links.rb
Parent: Object

Enumerates all key-value pairs of a given hash in a thread-safe way.

@api private

Methods

new   next_pair  

Public Class methods

Creates a new enumerator for the given hash.

@param [Hash] hash The hash for which the enumerator should return

  key-value pairs

Public Instance methods

Returns the next key-value pair in the hash.

@return [Array] An array containing the key and the corresponding

  value of teh next key-value pair

[Validate]