Class: AppProfiler::StackprofProfile
Constant Summary
collapse
- FILE_EXTENSION =
".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, #metadata, #to_h, #upload, #valid?
Instance Method Details
11
12
13
|
# File 'lib/app_profiler/profile/stackprof.rb', line 11
def format
FILE_EXTENSION
end
|
#mode ⇒ Object
7
8
9
|
# File 'lib/app_profiler/profile/stackprof.rb', line 7
def mode
@data[:mode]
end
|
#view(params = {}) ⇒ Object
15
16
17
|
# File 'lib/app_profiler/profile/stackprof.rb', line 15
def view(params = {})
AppProfiler.viewer.view(self, **params)
end
|