Class: ObjectSpace::AllocationSampler::Frame

Inherits:
Object
  • Object
show all
Defined in:
lib/allocation_sampler.rb

Direct Known Subclasses

Result::Frame

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#childrenObject (readonly)

Returns the value of attribute children.



12
13
14
# File 'lib/allocation_sampler.rb', line 12

def children
  @children
end

#idObject (readonly)

Returns the value of attribute id.



12
13
14
# File 'lib/allocation_sampler.rb', line 12

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



12
13
14
# File 'lib/allocation_sampler.rb', line 12

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



12
13
14
# File 'lib/allocation_sampler.rb', line 12

def path
  @path
end