Class: AppProfiler::Viewer::BaseViewer

Inherits:
Object
  • Object
show all
Defined in:
lib/app_profiler/viewer/base_viewer.rb

Direct Known Subclasses

SpeedscopeRemoteViewer, SpeedscopeViewer

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.view(profile, params = {}) ⇒ Object



7
8
9
# File 'lib/app_profiler/viewer/base_viewer.rb', line 7

def view(profile, params = {})
  new(profile).view(**params)
end

Instance Method Details

#view(_params = {}) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/app_profiler/viewer/base_viewer.rb', line 12

def view(_params = {})
  raise NotImplementedError
end