Skip to content

Commit

Permalink
A slightly better #inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
osyoyu committed Jan 24, 2025
1 parent 750c24e commit c256d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pf2/reporter/firefox_profiler_ser2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def initialize(profile)
end

def inspect
"#<#{self.class.name}>" # TODO: add sample count etc.
"#<#{self.class.name} (#{@profile[:samples].length} samples)>"
end

def emit
Expand Down Expand Up @@ -75,7 +75,7 @@ def initialize(profile, thread_id, samples)
end

def inspect
"" # TODO: provide something better
"#<#{self.class.name} (#{@samples.length} samples)>"
end

def emit
Expand Down

0 comments on commit c256d4e

Please sign in to comment.