How to Require Files in a Crystal Application

Опубликовано: 02 Август 2026
на канале: LuckyCasts
106
7

Watch on LuckyCasts.com! https://luckycasts.com/videos/requiri...

Vote on the next video: https://go.luckycasts.com/shows

As applications grow in complexity, you'll need to store logic in separate files. Let's take a look at the different ways to require files in Crystal in this latest Crystal Mastery mirror!

Code for this episode: https://github.com/LuckyCastsVideos/r...

Join the Discord: https://go.luckycasts.com/discord
Follow along on Twitter: https://go.luckycasts.com/twitter
Feelin' Lucky? https://luckyframework.org

TIMESTAMPS
0:00 Introduction
0:17 How to Require Files
6:04 "Gotchas" with Requiring Files
8:16 Outro