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.



13
14
15
16
17
# File 'lib/allocation_sampler.rb', line 13

def initialize id, name, path
  @id       = id
  @name     = name
  @path     = path
end

Instance Attribute Details

#childrenObject (readonly)

Returns the value of attribute children.



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

def children
  @children
end

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end