Class: ObjectSpace::AllocationSampler::Frame
- Inherits:
-
Object
- Object
- ObjectSpace::AllocationSampler::Frame
- Defined in:
- lib/allocation_sampler.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(id, name, path) ⇒ Frame
constructor
A new instance of Frame.
Constructor Details
#initialize(id, name, path) ⇒ Frame
Returns a new instance of Frame.
14 15 16 17 18 |
# File 'lib/allocation_sampler.rb', line 14 def initialize id, name, path @id = id @name = name @path = path end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
12 13 14 |
# File 'lib/allocation_sampler.rb', line 12 def children @children end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
12 13 14 |
# File 'lib/allocation_sampler.rb', line 12 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/allocation_sampler.rb', line 12 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
12 13 14 |
# File 'lib/allocation_sampler.rb', line 12 def path @path end |