Module: Pears::Testing::Subject
- Included in:
- Subject
- Defined in:
- lib/pears/testing/subject.rb
Instance Method Summary collapse
Instance Method Details
#prepend(*address, is:) ⇒ Object
4 5 6 |
# File 'lib/pears/testing/subject.rb', line 4 def prepend *address, is: @layers = @layers.unshift Pears::Provider::Hash.new(hasher(address, is: is)) end |
#shift ⇒ Object
8 9 10 |
# File 'lib/pears/testing/subject.rb', line 8 def shift @layers.shift end |