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/
extend self
inside the module
Hash.new( Int32, Int32 ){ 0 }
but it did not work.{% begin %} ... {% end %}
as explained here https://crystal-lang.org/docs/syntax_and_semantics/macros.html#pitfalls