module Crinder::Option

Direct including types

Defined in:

crinder/option.cr

Macro Summary

Macro Detail

macro option(decl) #

Defines an option that becomes a named argument of .render.

option name : type = default
  • name: (required) the local variable name for the option that can be used in value, if or unless.
  • type: the type of the option.
  • default: the default value of the option.