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

Add tag option #65

Merged
merged 1 commit into from
Sep 6, 2020
Merged

Add tag option #65

merged 1 commit into from
Sep 6, 2020

Conversation

st0012
Copy link
Owner

@st0012 st0012 commented Sep 6, 2020

With the tag option, the printed method calls will be marked with the option's value.

For example, if we have an output of print_calls(service) like

:validate_cart # OrderCreationService

With print_calls(service, tag: "service"), it'll be

:validate_cart [service] # OrderCreationService

This can help distinguish the subject when tracking multiple objects.

With the tag option, the printed method calls will be marked with the option's value.

For example, if we have an output of `print_calls(service)` like

```
:validate_cart # OrderCreationService
```

With `print_calls(service, tag: "service")`, it'll be

```
:validate_cart [service] # OrderCreationService
```

This can help distinguish the subject when tracking multiple objects.
@st0012 st0012 added the Feature label Sep 6, 2020
@st0012 st0012 added this to the v0.5.7 milestone Sep 6, 2020
@st0012 st0012 self-assigned this Sep 6, 2020
@st0012 st0012 merged commit 0cf582e into master Sep 6, 2020
@st0012 st0012 deleted the impl-#64 branch September 6, 2020 06:36
@st0012 st0012 mentioned this pull request 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

Successfully merging this pull request may close these issues.

1 participant