Class: AppProfiler::StackprofProfile
Constant Summary
collapse
- FILE_EXTENSION =
".stackprof.json"
Instance Attribute Summary
Attributes inherited from BaseProfile
#context, #id
Instance Method Summary
collapse
Methods inherited from BaseProfile
#enqueue_upload, #file, from_stackprof, from_vernier, #initialize, #to_h, #upload, #valid?
Instance Method Details
15
16
17
|
# File 'lib/app_profiler/stackprof_profile.rb', line 15
def format
FILE_EXTENSION
end
|
11
12
13
|
# File 'lib/app_profiler/stackprof_profile.rb', line 11
def metadata
@data[:metadata]
end
|
#mode ⇒ Object
7
8
9
|
# File 'lib/app_profiler/stackprof_profile.rb', line 7
def mode
@data[:mode]
end
|
#view(params = {}) ⇒ Object
19
20
21
|
# File 'lib/app_profiler/stackprof_profile.rb', line 19
def view(params = {})
AppProfiler.stackprof_viewer.view(self, **params)
end
|