Module: RSpec::Message::Within::MatcherPatch::InstanceMethods

Defined in:
lib/rspec/message/within.rb

Instance Method Summary collapse

Instance Method Details

#secondsObject



50
51
52
# File 'lib/rspec/message/within.rb', line 50

def seconds
  self
end

#within(*args, &block) ⇒ Object



46
47
48
49
# File 'lib/rspec/message/within.rb', line 46

def within(*args, &block)
  @recorded_customizations << ::RSpec::Mocks::Matchers::Receive::Customization.new(:within, args, block)
  self
end