Ruby Rogues
Practical Observability: Logging, Tracing, and Metrics for Better Debugging - RUBY 656
John Gallagher
It means you're going to format the domain object as a hash. And so to formatted S allows you to pass in a symbol to define the kind of format that you want. So it can be short, ordinal, long, humanized, and it will output a string. It will output a stringified version of that date in these different formats.
0
💬
0
Comments
Log in to comment.
There are no comments yet.