The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
A = [] of Int32
{% A << "1".id %}
A
Unhandled exception: can't execute `__temp_499[0] = 1` at eval:1:5: `1` has no type (Exception)
T
from the including type
A class inherits all instance variables and all instance and class methods of a superclass, including its constructors (new and initialize).
seems they should
InnerClass
must also be a generic
path.match?(pattern)
to wrap around File.match?(pattern, path)
? https://crystal-lang.org/api/1.0.0/File.html#match?(pattern:String,path:Path%7CString)-class-method
MIME
module you can use to get it from the filename/ext
next
is the thing to return from a block