Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Support tag option #64

Closed
st0012 opened this issue Sep 5, 2020 · 1 comment
Closed

Support tag option #64

st0012 opened this issue Sep 5, 2020 · 1 comment
Assignees
Milestone

Comments

@st0012
Copy link
Owner

st0012 commented Sep 5, 2020

Sometimes we'll tap multiple objects at the same time and it'll be very useful to add tag to the payload/output messages to help determine the target. for example:

print_calls(seat_assignment_1, tag: "left assignment")
print_calls(seat_assignment_2, tag: "right assignment")
:x [left assignment] # SeatAssignment::GeneratedAttributeMethods
    from: /app/models/seat_picker.rb:228
    <= {}
    => 0

:x [right assignment] # SeatAssignment::GeneratedAttributeMethods
    from: /app/models/seat_picker.rb:230
    <= {}
    => 10
@st0012 st0012 added the Feature label Sep 5, 2020
@st0012 st0012 self-assigned this Sep 5, 2020
@st0012 st0012 added this to the v0.5.7 milestone Sep 6, 2020
@st0012
Copy link
Owner Author

st0012 commented Sep 6, 2020

Close via #65

@st0012 st0012 closed this as completed Sep 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant