class RSpec::Mocks::Matchers::Receive

def move_block_to_last_customization(block)

def move_block_to_last_customization(block)
  last = @recorded_customizations.last
  return block unless last
  last.block ||= block
  nil
end