You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But you have to know the structure or look it up every time to make sure you know what is what. If instead the ledger returned objects (even just OpenStruct) which provided those values directly or optionally converted to an array, it might require less time consulting the documentation.
We could also add interesting methods to the ledger which could extract different dimensions of that data directly (like the list of methods only as demonstrated below).
The text was updated successfully, but these errors were encountered:
acook
changed the title
Consider ledger and entries being objects to make interaction more intuitive
Consider making ledger and entries custom objects
Oct 7, 2022
The ledger itself is an array which returns structured arrays of each method call it received:
But you have to know the structure or look it up every time to make sure you know what is what. If instead the ledger returned objects (even just OpenStruct) which provided those values directly or optionally converted to an array, it might require less time consulting the documentation.
We could also add interesting methods to the ledger which could extract different dimensions of that data directly (like the list of methods only as demonstrated below).
The text was updated successfully, but these errors were encountered: