Class: RSpec::Wait::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/wait/proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Proxy

Returns a new instance of Proxy.



4
5
6
# File 'lib/rspec/wait/proxy.rb', line 4

def initialize(options)
  @options = options
end

Instance Method Details

#for(value = Target::UndefinedValue, &block) ⇒ Object



8
9
10
# File 'lib/rspec/wait/proxy.rb', line 8

def for(value = Target::UndefinedValue, &block)
  Target.for(value, block, @options)
end