data Meta::Keyword(name: Symbol, type: Type[Object], required: Bool, nullable: Bool)

A keyword parameter of a method def_method generates with keywords: (docs/14 §5): its name, its type (T? with nullable:), and whether a call must pass it.

<prelude>:177

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

<prelude>:177

def with(*, name: Symbol = …, type: Type[Object] = …, required: Bool = …, nullable: Bool = …) -> Meta::Keyword

A copy with the fields given replaced.

<prelude>:177

def name -> Symbol

<prelude>:177

def type -> Type[Object]

<prelude>:177

def required -> Bool

<prelude>:177

def nullable -> Bool

<prelude>:177