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

Add with_internal_states option #49

Open
st0012 opened this issue Jun 21, 2020 · 0 comments
Open

Add with_internal_states option #49

st0012 opened this issue Jun 21, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@st0012
Copy link
Owner

st0012 commented Jun 21, 2020

Besides arguments, sometimes internal states will affect a method's result too. But currently print_calls doesn't contain such information. So in such cases, users still need to dig into the method to check internal states.

Sample output:

:update? # CartOperationsService::OperationSet
    from: /Users/st0012/projects/ticketsolve/app/services/cart_operations_service.rb:102
    states:
     @price: 10.0
    <= {args: [], block: nil}
    => true
@st0012 st0012 added the Feature label Jun 21, 2020
@st0012 st0012 added this to the v0.5.4 milestone Jun 21, 2020
@st0012 st0012 self-assigned this Jun 21, 2020
@st0012 st0012 modified the milestones: v0.5.4, v0.5.5 Jul 2, 2020
@st0012 st0012 modified the milestones: v0.5.5, v0.5.6 Jul 16, 2020
@st0012 st0012 modified the milestones: v0.5.6, v0.5.7 Sep 6, 2020
@st0012 st0012 added enhancement New feature or request and removed Feature labels Apr 25, 2021
@st0012 st0012 removed this from the v0.5.7 milestone Apr 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant