diff --git a/examples/foo.rb b/examples/foo.rb index 27009aa..ac21211 100644 --- a/examples/foo.rb +++ b/examples/foo.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require_relative '../lib/im-lost' +require 'im-lost' class Foo def self.create(value:) = new(value) diff --git a/lib/im-lost.rb b/lib/im-lost.rb index 0fcdb58..ccdc823 100644 --- a/lib/im-lost.rb +++ b/lib/im-lost.rb @@ -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 @@ -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) @@ -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 = [