module RSpec::Memory::Matchers

Public Instance Methods

limit_allocations(count: nil, size: nil, **allocations) click to toggle source
# File lib/rspec/memory/matchers/limit_allocations.rb, line 109
def limit_allocations(count: nil, size: nil, **allocations)
        LimitAllocations.new(allocations, count: count, size: size)
end