Object
This class is a helper class, which means that it is not used directly by nanoc. Future versions of nanoc may no longer contain this class. Do not depend on this class to be available.
# File lib/nanoc3/extra/validators/links.rb, line 160 def initialize(hash) @hash = hash @unprocessed_keys = @hash.keys.dup @mutex = Mutex.new end
# File lib/nanoc3/extra/validators/links.rb, line 166 def next_pair @mutex.synchronize do key = @unprocessed_keys.shift return (key ? [ key, @hash[key] ] : nil) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.