Skip to content

Commit

Permalink
Tidy-up
Browse files Browse the repository at this point in the history
  • Loading branch information
mblumtritt committed May 28, 2024
1 parent 2dedcaf commit 5055268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/foo.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative '../lib/im-lost'
require 'im-lost'

class Foo
def self.create(value:) = new(value)
Expand Down
3 changes: 1 addition & 2 deletions lib/im-lost.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

#
# If you have overlooked something again and don't really understand what your
# code is doing. If you have to maintain this application but can't really find
# your way around and certainly can't track down that stupid error. If you feel
Expand Down Expand Up @@ -195,7 +196,6 @@ def here(test = true)
# @see untrace
# @see untrace_all!
#
#
# @overload trace(*args)
# @param args [[Object]] one or more objects to be traced
# @yieldparam args [Object] the traced object(s)
Expand Down Expand Up @@ -462,7 +462,6 @@ def initialize(&block)
@output.puts(" #{location.path}:#{location.lineno}") if @caller_locations
@output.puts(" #{time} sec.") if time
end

TimerStore.private_class_method(:new)

@trace_calls = [
Expand Down

0 comments on commit 5055268

Please sign in to comment.