Created
July 17, 2017 21:56
-
-
Save Groogy/1cb09ce674a1428f770f3d07a3abf320 to your computer and use it in GitHub Desktop.
This file contains 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 Boleite | |
abstract struct Configuration | |
end | |
abstract class Application | |
getter :configuration | |
@configuration : Configuration | |
def initialize() | |
@configuration = create_configuration | |
p @configuration #=> AppConfiguration(@foobar="Hello World!") | |
end | |
abstract def create_configuration : Configuration | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment