class Pester::Environment
Attributes
options[RW]
Public Class Methods
new(opts)
click to toggle source
# File lib/pester/environment.rb, line 5 def initialize(opts) @options = opts end
Public Instance Methods
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
# File lib/pester/environment.rb, line 9 def method_missing(name, *args, &block) if name.to_s.start_with?('retry') && args.empty? Pester.send(name, @options, &block) else super end end