Module: Strict::_AttributesClass

Defined in:
sig/strict.rbs

Overview

Extend this type-only interface in application signatures for classes that include Strict::Value or Strict::Object.

Instance Method Summary collapse

Instance Method Details

#attributes { ... } ⇒ void

This method returns an undefined value.

Yields:

Yield Returns:

  • (void)


85
# File 'sig/strict.rbs', line 85

def attributes: () { () [self: _AttributesDsl] -> untyped } -> void

#coercer ⇒ _Coercer[untyped, untyped]

Returns:



87
# File 'sig/strict.rbs', line 87

def coercer: () -> _Coercer[untyped, untyped]

#strict_attributes ⇒ Enumerable[_AttributeDescriptor]

Returns:



86
# File 'sig/strict.rbs', line 86

def strict_attributes: () -> Enumerable[_AttributeDescriptor]