'How Do I Read a File in Crystal Lang?

I am familiar with Ruby and am trying to write a program in Crystal.

I have a file called special_file.txt that I want to read in my Crystal program, how do I do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source