class Stackprofiler::WebUI
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
# File lib/stackprofiler/web_ui.rb, line 9 def initialize(options={}) if options[:file] data = File.read options[:file] run = Oj.load data if run.is_a?(Hash) && run.has_key?(:frames) run = Run.new 'unknown', run, Time.now end RunDataSource.runs << run end super end