Newline constant?

My Google-fu is failing me.

How do I figure out what newlines the current platform prefers? (So I can fix my spec on Windows)

If you’re on Crystal >=1.11.0 you can use Top Level Namespace - Crystal 1.11.2.

2 Likes

Time to upgrade then. Thanks!