Class: MemoryProfiler::Stat

Inherits:
Struct
  • Object
show all
Defined in:
lib/memory_profiler/stat.rb

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def class_name
  @class_name
end

#class_pathObject

Returns the value of attribute class_path

Returns:

  • (Object)

    the current value of class_path



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def class_path
  @class_path
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def line
  @line
end

#memsizeObject

Returns the value of attribute memsize

Returns:

  • (Object)

    the current value of memsize



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def memsize
  @memsize
end

#method_idObject

Returns the value of attribute method_id

Returns:

  • (Object)

    the current value of method_id



2
3
4
# File 'lib/memory_profiler/stat.rb', line 2

def method_id
  @method_id
end