abstract class Object

Overview

Object is the base type of all Crystal objects.

Defined in:

var.cr

Macro Summary

Macro Detail

macro var(name) #

var(TypeDeclaration)

I don't know how to get String from String? in macro. So, first we convert it in String level, and then call another macro.

var foo : String? = nil
__var_with_type__ String, foo : String? = nil

[View source]