Skip to content

Instantly share code, notes, and snippets.

@damireh
Created December 28, 2016 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damireh/dff40817e47f9ca441dfad1082a4a863 to your computer and use it in GitHub Desktop.
Save damireh/dff40817e47f9ca441dfad1082a4a863 to your computer and use it in GitHub Desktop.
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