-
-
Save damireh/dff40817e47f9ca441dfad1082a4a863 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
class Daniel | |
def initialize(options : Array(String)) | |
@command, @args = options | |
end | |
end | |
Daniel.new(%w[a b]) # Can't infer the type of instance variable '@command' of Daniel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment