Last active
August 26, 2018 20:25
-
-
Save mehdi-farsi/5a174ce0603283ee85872eeff2fd4f7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Car | |
| autoload(:Engine, './engine.rb') | |
| puts "The Engine module isn't yet loaded!" | |
| Engine | |
| puts "The Engine module has been successfully loaded!" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Engine | |
| puts 'The Engine module is loading!' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment