Class: Minitest::Memory::AllocationCounter::Allocation
- Inherits:
-
Struct
- Object
- Struct
- Minitest::Memory::AllocationCounter::Allocation
- Defined in:
- lib/minitest/memory.rb
Overview
Tracks allocation count and total byte size for a class.
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#size ⇒ Object
Returns the value of attribute size.
-
#sources ⇒ Object
Returns the value of attribute sources.
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count
18 19 20 |
# File 'lib/minitest/memory.rb', line 18 def count @count end |
#size ⇒ Object
Returns the value of attribute size
18 19 20 |
# File 'lib/minitest/memory.rb', line 18 def size @size end |
#sources ⇒ Object
Returns the value of attribute sources
18 19 20 |
# File 'lib/minitest/memory.rb', line 18 def sources @sources end |