Menu
Sign In Pricing Add Podcast

Ruby Rogues

Practical Observability: Logging, Tracing, and Metrics for Better Debugging - RUBY 656

3840.933 - 3863.682 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

There are no comments yet.

Log in to comment.