Skip to content

Make Tracer.trace support an optional second argument for ivar #17

@st0012

Description

@st0012

In #16 IvarTracer was added, which also targets a specific object. So instead of introducing another Tracer method for it, perhaps we can extend Tracer.trace instead:

Tracer.trace(obj) # => uses ObjectTracer
Tracer.trace(obj, :@ivar) # => uses IvarTracer

(This idea was provided by @KaanOzkan)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions