Sha256: 97d72b42f76b9239be0056f47a9c0f8ffe373505c70ab8170dd8aa492713a9df
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
module Pears module Testing module Subject def prepend *address, is: @layers = @layers.unshift Pears::Provider::Hash.new(hasher(address, is: is)) end def shift @layers.shift end private def hasher(address, is:) local = address.shift if address.empty? { local => is } else { local => hasher(address, is: is) } end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems