class Profiler::Result

Attributes

paths_counts[RW]
paths_durations[RW]

Public Class Methods

new(profile) click to toggle source
# File lib/profiler/result.rb, line 5
def initialize(profile)
  self.paths_counts = profile.paths_counts.dup
  self.paths_durations = profile.paths_durations.dup
end

Public Instance Methods

paths() click to toggle source
# File lib/profiler/result.rb, line 10
def paths
  self.paths_counts.keys
end